You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vadim Kisselmann <v....@googlemail.com> on 2011/08/12 10:53:46 UTC

Last successful build of Solr 4.0 and Near Realtime Search

Hi folks,

I'm writing here again (beside Jira: SOLR-2565), eventually any one can help
here:


I tested the nightly build #1595 with an new patch (2565), but NRT doesn't
work in my case.

I index 10 docs/sec, it takes 1-30sec. to see the results.
same behavior when i update an existing document.

My addedDate is an timestamp (default="NOW"). In worst case i can see what
the document which i indexed is already more when 30
seconds in my index, but i can't see it.

My Settings:
<autoCommit>
<maxDocs>1000</maxDocs>
<maxTime>60000</maxTime>
</autoCommit>

<autoSoftCommit>
<maxDocs>1</maxDocs>
<maxTime>1000</maxTime>
</autoSoftCommit>

Are my settings wrong or need you more details?
Should i use the coldSearcher (default=false)? Or set maxWarmingSearchers
higher than 2?
UPDATE:
If i only use autoSoftCommit and uncomment autoCommit it works.
But i should use the "hard" autoCommit, right?
Mark said yes, because only with hard commits my docs are in stable storage:
http://www.lucidimagination.com/blog/2011/07/11/benchmarking-the-new-solr-
‘near-realtime’-improvements/

Regards
Vadim