Well, I guess I can answer one of my questions which I didn't exactly explicitly state, which is: how do I force solr to merge segments to a given maximum. I forgot about doing this:
curl ' http://localhost:8983/solr/update?optimize=true&maxSegments=10&waitFlush=false ' which reduced the number of segments in my index from 12 to 10. Amazingly, it also reduced the space used by almost 50Gb. Is that even possible? Thanks again Brendan On Tue, Aug 6, 2013 at 10:55 AM, Brendan Grainger < brendan.grain...@gmail.com> wrote: > Hi All, > > First of all, what I was actually trying to do is actually get a little > space back. So if there is a better way to do this by adjusting the > MergePolicy or something else please let me know. My index is currently > 200Gb. In the past (Solr 1.4) we've found that optimizing the index will > double the size of the index temporarily then usually when it's done we end > up with a smaller index and slightly faster search query times. > > Should I even bother optimizing? My impression was that with the > TieredMergePolicy this would be less necessary. Would merging segments into > larger ones save any space and if so is there a way to tell solr to do that? > > Thanks > Brendan > -- Brendan Grainger www.kuripai.com