Reputation: 4448
I would like to Solr to store entire index instead of multiple segments
Upvotes: 0
Views: 131
Reputation: 33351
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.
Upvotes: 1