lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-219) Determine if prefix, wildcard, fuzzy queries should be lowercased
Date Mon, 20 Jun 2011 01:01:54 GMT

    [ https://issues.apache.org/jira/browse/SOLR-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051752#comment-13051752
] 

Robert Muir commented on SOLR-219:
----------------------------------

Mike I don't totally understand the question: in general there are only several categories
of queries supported by the queryparser:
* Core queries like Term, Phrase, SloppyPhrase, MultiPhrase: these go thru the analyzer.
* MultiTermQueries like WildcardQuery, PrefixQuery, FuzzyQuery, RegexpQuery, which are patterns
that rewrite against the term index into some simpler form (e.g. into TermQueries)

If you were to write an AnagramQuery, you would first have to add queryparser support anyway
to it. But, if you want anagrams you could just write an anagram tokenfilter that sorts the
characters in the termbuffer: then you wouldn't need to write a custom query, nor custom queryparser
integration, and it would be fast.


> 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
>             Fix For: 3.3
>
>         Attachments: lowercase_prefix.patch, wildcardlowercase.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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message