Hello all, I am working on collations. Somewhere in Solr, I found that UnicodeCollation will do searching fast. But after applying CollationKeyFilterFactory in schema.xml, it stops the suggestions and collations both. Please check the configurations and help me.
*Schema.xml:* <fieldType name="textSpell" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.CollationKeyFilterFactory" language="" strength="primary"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.CollationKeyFilterFactory" language="" strength="primary"/> </analyzer> </fieldType> Solrconfig.xml: <requestHandler name="/spell" class="solr.SearchHandler" startup="lazy"> <lst name="defaults"> <str name="df">gram_ci</str> <!-- Solr will use suggestions from both the 'default' spellchecker and from the 'wordbreak' spellchecker and combine them. collations (re-written queries) can include a combination of corrections from both spellcheckers --> <str name="spellcheck.dictionary">default</str> <str name="spellcheck">on</str> <str name="spellcheck.extendedResults">true</str> <str name="spellcheck.count">25</str> <str name="spellcheck.onlyMorePopular">true</str> <str name="spellcheck.maxResultsForSuggest">10</str> <str name="spellcheck.alternativeTermCount">25</str> <str name="spellcheck.collate">true</str> <str name="spellcheck.maxCollations">100</str> <str name="spellcheck.maxCollationTries">1000</str> <str name="spellcheck.collateExtendedResults">true</str> </lst> <arr name="last-components"> <str>spellcheck</str> <!--<str>suggest</str>--> <!--<str>query</str>--> </arr> </requestHandler>