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

Reply via email to