Details
-
Improvement
-
Resolution: Fixed
-
Medium
-
4.0.0alpha1
-
None
Description
Hi
In my case I have indexed about 60 000 objects and it takes 70 seconds! to re-index an object (while publish a new version of an object).
About 40 seconds is spend on rebuilding the spellchecker index which is configured to be recreated on commits. I suggest that it instead are only built on optimize():
Index: solrconfig.xml =================================================================== --- solrconfig.xml (revision 37804) +++ solrconfig.xml (working copy) @@ -539,7 +539,8 @@ <str name="name">default</str> <str name="field">ezf_sp_words</str> <str name="spellcheckIndexDir">./ezfspellchecker</str> - <str name="buildOnCommit">true</str> + <str name="buildOnOptimize">true</str> </lst>
fyi:
The remaining 30 sec (70s-40s) is spent on optimize(), ref http://issues.ez.no/IssueView.php?Id=13930