I would like to Solr to store entire index instead of multiple segments
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Closest thing would be to optimize it, documented here:
http://wiki.apache.org/solr/SolrOperationsTools#optimize
Generally speaking, a Lucene optimize reduces the index to a single segment. Certain variables can change that behavior, such that an optimize may not reduce to a single segment.
Note that this is a very expensive operation, and should generally not be done very frequently. Documents added, modified, or deleted will cause new segments to be created and require you to reoptimize.