You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2013/08/16 14:03:48 UTC

[jira] [Commented] (SOLR-5167) Ability to use AnalyzingInfixSuggester in Solr

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org