Hi, I'm having a problem with the spell check index building. I've configured the spell checker component to have the index built on optimize.
* <!-- Spell Check http://wiki.apache.org/solr/SpellCheckComponent <http://wiki.apache.org/solr/SpellCheckComponent> -->* * <searchComponent name="spellcheck" class="solr.SpellCheckComponent">* * <str name="queryAnalyzerFieldType">spell</str>* * <lst name="spellchecker">* * <str name="name">spellchecker</str>* * <str name="field">spell</str>* * <str name="accuracy">0.7</str>* * <str name="buildOnOptimize">true</str>* * </lst>* * </searchComponent>* * <!-- A request handler for demonstrating the spellcheck component. http://wiki.apache.org/solr/SpellCheckComponent <http://wiki.apache.org/solr/SpellCheckComponent> for details -->* * <requestHandler name="/spell" class="solr.SearchHandler">* * <lst name="defaults"> * * <str name="spellcheck.dictionary">spellchecker</str>* * <str name="spellcheck">on</str>* * <str name="spellcheck.onlyMorePopular">false</str>* * <str name="spellcheck.extendedResults">false</str>* * <str name="spellcheck.count">1</str>* * </lst>* * <arr name="last-components">* * <str>spellcheck</str>* * </arr>* * </requestHandler>* After the index process I launch an optimize request and the spellcheck index is generated and everything is working fine. However, if I restart Solr the spell check is not working anymore until I execute another optimize request. So, is this the expected way of working? Is the spell check index deleted after every server restart? Is there any way to make it persistent? And just one more question, I remember in previous Solr versions the spellcheck had even its own folder under the data folder, so, for example I could see if the spell check index had been generated just listing the files under that folder. Does that folder still exist? Is there any way of knowing if the spell check index has been generated without executing a query that is supposed to return a correction? Thanks in advance -- Alejandro Marqués Rodríguez Paradigma Tecnológico http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42