[
https://issues.apache.org/jira/browse/SOLR-5167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742139#comment-13742139
]
Varun Thacker commented on SOLR-5167:
-------------------------------------
We could define it like:
{noformat}
<searchComponent class="solr.SpellCheckComponent" name="suggest">
<lst name="spellchecker">
<str name="name">suggest</str>
<str name="classname">org.apache.solr.spelling.suggest.Suggester</str>
<str
name="lookupImpl">org.apache.solr.spelling.suggest.AnalyzingInfixSuggester</str>
<str name="field">name</str> <!-- the indexed field to derive suggestions
from -->
<str name="buildOnCommit">true</str>
<str name="storeDir">suggester</str>
<str name="suggestAnalyzerFieldType">text_general</str>
<str name="minPrefixChars">4</str>
</lst>
</searchComponent>
{noformat}
> Ability to use AnalyzingInfixSuggester in Solr
> ----------------------------------------------
>
> Key: SOLR-5167
> URL: https://issues.apache.org/jira/browse/SOLR-5167
> Project: Solr
> Issue Type: New Feature
> Components: SearchComponents - other
> Reporter: Varun Thacker
> Priority: Minor
> Fix For: 4.5, 5.0
>
>
> We should be able to use AnalyzingInfixSuggester in Solr by defining it in
> solrconfig.xml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]