Michael Thessel wrote:
Mike Klaas wrote:
On 4/20/07, Michael Thessel <[EMAIL PROTECTED]> wrote:
Hey Erik,
thanks for the fast reply. Yes this could be possible. I currently got
solr running for the indexing of a forum with 100k users. It could
definitely be possible that two commits overlap. But I need to commit
all changes because the new posts must be available in the search as
soon as they are posted.
Do you think there is a way to optimize this?
"As soon as" is a rather vague requirement. If you can specify the
minimum acceptible delay, then you can use Solr's autocommit
functionality to trigger commits.
-Mike
I didn't know about the timed commits. That's perfect for me.
Thanks,
Michael
The timed commits don't work for me. The webinterface says 0 commits
since the server was restarted. And nothing in the logs as well.
I use:
apache-solr-1.1.0-incubating
My updateHandler section from solrconfig.xml:
<updateHandler class="solr.DirectUpdateHandler2">
<autoCommit>
<maxTime>10000</maxTime>
</autoCommit>
</updateHandler>
I also tried <maxTime>10</maxTime> in case its seconds and not ms.
Cheers Michael