[
https://issues.apache.org/jira/browse/SOLR-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Bowen updated SOLR-1407:
------------------------------
Description:
SpellingQueryConverter was extended to cover the full UTF-8 range instead of
handling US-ASCII only, but in the process it was broken for field names that
contain underscores or digits.
was:
Solr - User - SpellCheckComponent: queryAnalyzerFieldType
http://www.nabble.com/SpellCheckComponent%3A-queryAnalyzerFieldType-td23870668.html
In the above thread, it was suggested to extend the SpellingQueryConverter to
cover the full UTF-8 range instead of handling US-ASCII only. This might be as
simple as changing the regular expression used to tokenize the input string to
accept a sequence of one or more Unicode letters ( \p{L}+ ) instead of a
sequence of one or more word characters ( \w+ ).
See http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html for
Java regular expression reference.
> SpellingQueryConverter now disallows underscores and digits in field names
> (but allows all UTF-8 letters)
> ---------------------------------------------------------------------------------------------------------
>
> Key: SOLR-1407
> URL: https://issues.apache.org/jira/browse/SOLR-1407
> Project: Solr
> Issue Type: Improvement
> Components: spellchecker
> Affects Versions: 1.3
> Reporter: David Bowen
> Assignee: Shalin Shekhar Mangar
> Priority: Trivial
> Fix For: 1.4
>
>
> SpellingQueryConverter was extended to cover the full UTF-8 range instead of
> handling US-ASCII only, but in the process it was broken for field names that
> contain underscores or digits.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.