You can certainly optimize down to just 1 segment.

Note that this is the most expensive option and that when you do that
you may actually hurt performance for a bit because Solr/Lucene may
need to re-read a bunch of data from the index for sorting and
faceting purposes.  You will also invalidate the previously cached
index data in the OS cache.

Finally, if this index is being modified, it will be de-optimized
again.  Note that Lucene periodically merges segments under the hood
as documents are added to the index anyway.

Otis
--
Search Analytics - http://sematext.com/search-analytics/index.html
Performance Monitoring - http://sematext.com/spm/index.html


On Thu, Oct 4, 2012 at 4:20 PM, jame vaalet <jamevaa...@gmail.com> wrote:
> Hi,
> I was about to do optimize on my index which has got around 100 segments
> right now, but am confused about the segment size that has to be chosen.
> would it have any trouble merging all the index into one single segment ?
> thanks in advance.
>
> --
>
> -JAME

Reply via email to