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/02 08:53:50 UTC

[jira] [Created] (SOLR-5110) Change default spell check query analyzer if not defined

Varun Thacker created SOLR-5110:
-----------------------------------

             Summary: Change default spell check query analyzer if not defined
                 Key: SOLR-5110
                 URL: https://issues.apache.org/jira/browse/SOLR-5110
             Project: Solr
          Issue Type: Improvement
          Components: SearchComponents - other
            Reporter: Varun Thacker
            Priority: Minor
             Fix For: 4.5, 5.0


The collection1 example uses the query analyzer from "text_general" FieldType as "queryAnalyzerFieldType" in the SpellCheck component.

Now if someone removes this from the SpellCheckComponent configuration the query uses WhiteSpaceAnalyzer.

I think we could change this to SimpleAnalyzer so that spell check results for "foo" and "Foo" give the same results. We should also log if the fieldType is not found.

Are there more places in solrconfig which have dependencies on schema?


--
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