lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1407) SpellingQueryConverter now disallows underscores and digits in field names (but allows all UTF-8 letters)
Date Wed, 16 Sep 2009 09:30:57 GMT

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

Shalin Shekhar Mangar updated SOLR-1407:
----------------------------------------

    Attachment: SOLR-1407.patch

# Uses Michael's NMTOKEN regex.
# Added tests chinese chars and special characters in field names/values

I added the same NMTOKEN for values also. Otherwise values which have an underscore or digit
or hyphen are split into multiple tokens at these characters. I don't think that should happen.
Grant, any thoughts?

> 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
>
>         Attachments: SOLR-1407.patch, SpellingQueryConverter.java, SpellingQueryConverter.java
>
>
> 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.


Mime
View raw message