solr4 - SOLR autoCommit vs autoSoftCommit - Stack Overflow
You have openSearcher=false for hard commits. Which means that even though the commit happened, the searcher has not been restarted and cannot see the changes. Try changing that setting and you will not need soft commit.
SoftCommit does reopen the searcher. So if you have both sections, soft commit shows new changes (even if they are not hard-committed) and - as configured - hard commit saves them to disk, but does not change visibility.
This allows to put soft commit to 1 second and have documents show up quickly and have hard commit happen less frequently.
Read full article from solr4 - SOLR autoCommit vs autoSoftCommit - Stack Overflow
No comments:
Post a Comment