[jira] [Updated] (SOLR-5111) Change SpellCheckComponent default analyzer when queryAnalyzerFieldType is not defined

2017-03-06 Thread Cassandra Targett (JIRA)

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



[jira] [Updated] (SOLR-5111) Change SpellCheckComponent default analyzer when queryAnalyzerFieldType is not defined

2014-07-24 Thread Varun Thacker (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Varun Thacker updated SOLR-5111:


Attachment: SOLR-5111.patch

- I created a custom analyzer which keeps the whitespace tokenizer but adds the 
lowercase filter thus it will give the same results to users who are relying on 
the WhitespaceAnalyzer behaviour.
- Added a test for the same
- Fixed some indentation in testThresholdTokenFrequency

[~jdyer] - This should work right?

 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
Reporter: Varun Thacker
Priority: Minor
 Fix For: 4.9, 5.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.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-5111) Change SpellCheckComponent default analyzer when queryAnalyzerFieldType is not defined

2014-03-15 Thread David Smiley (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Smiley updated SOLR-5111:
---

Fix Version/s: (was: 4.7)
   4.8

 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
Reporter: Varun Thacker
Priority: Minor
 Fix For: 4.8

 Attachments: 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.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-5111) Change SpellCheckComponent default analyzer when queryAnalyzerFieldType is not defined

2013-08-02 Thread Varun Thacker (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Varun Thacker updated SOLR-5111:


Attachment: SOLR-5111.patch

 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
Reporter: Varun Thacker
Priority: Minor
 Fix For: 4.5, 5.0

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