Hi all,

I have created an index, commited the data and after that I had run the
optimize with default parameters:

http://localhost:8080/myindex/update?stream.body=<optimize/>

I was suprised that after the optimizing was finished there was 21 segments
in the index:

reader : 
SolrIndexReader{this=724a2dd4,r=directoryrea...@724a2dd4,refCnt=1,segments=21}


If I understand the documentation correctly the default maxSegments is 1.
Nothing helps even if I put the parameter in the command:

http://localhost:8080/myindex/update?maxSegments=1&stream.body=<optimize/>

Am I missing something?

I am using the trunk version with SimpleFSDirectory

Thanks, Rok

Reply via email to