I am new to Solr. can anybody tell where it stores index.
Thanks in advance
EDIT: i am asking this because i need a list of files to copy over to production. Suppose, if i index a site on development environment, which files i need to copy over to production environment. we dont want to re-index whole site again when its live.
EDIT-2 where i can find index directory, which stores data folder?
The Solr data gets indexed in the /solr directory. Run the following command to list the files and directories in the HDFS directory /solr.
By adding content to an index, we make it searchable by Solr. A Solr index can accept data from many different sources, including XML files, comma-separated value (CSV) files, data extracted from tables in a database, and files in common file formats such as Microsoft Word or PDF.
Solr in Action In general, your documents may contain fields that aren't useful from a search perspective but are still useful for displaying search results. In Solr, these are called stored fields. The favorites _count field is a good example of a stored field that isn't indexed but is useful for display purposes.
Indexing enables users to locate information in a document. Indexing collects, parses, and stores documents. Indexing is done to increase the speed and performance of a search query while finding a required document.
Solr (and underlying Lucene) index is a specially designed data structure, stored on the file system as a set of index files.
The index is designed with efficient data structures to maximize performance and minimize resource usage.
you can check the lucene index usually residing in the data/index folder
Detailed info @ http://lucene.apache.org/java/3_0_0/fileformats.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With