You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2007/04/28 06:59:15 UTC

[jira] Updated: (SOLR-219) Determine if prefix, wildcard, fuzzy queries should be lowercased

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

Yonik Seeley updated SOLR-219:
------------------------------

    Attachment: lowercase_prefix.patch

Here's a demo patch that optionally lowercases prefix query by testing the analyzer for the fieldType.  No tests, no wildcard/fuzzy implementation yet.  This is for evaluation of approach.

I delegated complete query construction to the fieldType (as opposed to just lowercasing the term) because I'm thinking ahead to more efficiently supporting other types of wildcard queries in the future based on the field type.  As an example, *foo* could be turned into a simple term query if the field contained the right ngram filter.


> Determine if prefix, wildcard, fuzzy queries should be lowercased
> -----------------------------------------------------------------
>
>                 Key: SOLR-219
>                 URL: https://issues.apache.org/jira/browse/SOLR-219
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>            Priority: Minor
>         Attachments: lowercase_prefix.patch
>
>
> Solr should be able to "do the right thing" when doing prefix/wildcard/fuzzy queries on fields with respect to lowercasing or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.