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 Lyuba Romanchuk <ly...@gmail.com> on 2012/04/12 17:37:52 UTC
Is it possible to do soft commit from code in Solr 4.0 and not
configuration only
Hi,
I need to configure the solr so that the opened searcher will see a new
document immidiately after it was adding to the index.
And I don't want to perform commit each time a new document is added.
I tried to configure maxDocs=1 under autoSoftCommit in solrconfig.xml but
it didn't help.
Is there way to perform soft commit from code in Solr 4.0 ?
Thank you in advance.
Best regards,
Lyuba