lucene-dev mailing list archives

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


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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message