[
https://issues.apache.org/jira/browse/SOLR-2999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180075#comment-13180075
]
Jan Høydahl commented on SOLR-2999:
-----------------------------------
Mostly agree to this. Another thing is that the IndexBasedSpellChecker also is
very slow to rebuild (and single threaded as well), so in real life you NEVER
want to build on every commit, even if it sounds nice, especially not on large
indexes. Also, as there is less need in general to call optimize explicitly
anymore, buildOnOptimize is not super useful either.
What WOULD make sense instead of these two is a "cron" based build, say
"autoBuild=true" and "autoBuildIntervalSec=3600". We could listen to the same
event as today, but only trigger a build if more than N seconds has passed
since last build - and only if the index has changed.
> spellcheck-index is rebuilt on commit if optimized
> ---------------------------------------------------
>
> Key: SOLR-2999
> URL: https://issues.apache.org/jira/browse/SOLR-2999
> Project: Solr
> Issue Type: Bug
> Components: spellchecker
> Affects Versions: 3.1, 3.2, 3.3, 3.4, 3.5, 4.0
> Reporter: Oliver Schihin
> Priority: Minor
> Fix For: 3.6, 4.0
>
>
> If an empty commit (i.e. without having posted new documents) is issued on an
> optimized index, the spellcheck-index is rebuilt even though solrconfig
> defines buildOnOptimize=true, not buildOnCommit=true.
> The problem was discovered on solr 4.0 but seems to happen on 3.x, too.
> Discussion and further information can be found on the list
> (http://lucene.472066.n3.nabble.com/spellcheck-index-is-rebuilt-on-commit-tp3626492p3626492.html)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]