You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2017/03/06 16:07:32 UTC
[jira] [Updated] (SOLR-5111) Change SpellCheckComponent default
analyzer when queryAnalyzerFieldType is not defined
[ https://issues.apache.org/jira/browse/SOLR-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cassandra Targett updated SOLR-5111:
------------------------------------
Component/s: spellchecker
> Change SpellCheckComponent default analyzer when queryAnalyzerFieldType is not defined
> --------------------------------------------------------------------------------------
>
> Key: SOLR-5111
> URL: https://issues.apache.org/jira/browse/SOLR-5111
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Reporter: Varun Thacker
> Priority: Minor
> Fix For: 4.9, 6.0
>
> Attachments: SOLR-5111.patch, SOLR-5111.patch
>
>
> In the collection1 example, the SpellCheckComponent uses the query analyzer of "text_general" FieldType. If "queryAnalyzerFieldType" is removed from the configuration a WhitespaceAnalyzer is used by default.
> I suggest we could change the default to SimpleAnalyzer so that "foo" and "Foo" gives the same results and log that the analyzer is missing.
> Also are there more places in solrconfig which have dependencies on schema like this?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org