Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 47E314EFE for ; Mon, 20 Jun 2011 01:02:19 +0000 (UTC) Received: (qmail 94744 invoked by uid 500); 20 Jun 2011 01:02:17 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 94696 invoked by uid 500); 20 Jun 2011 01:02:17 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 94678 invoked by uid 99); 20 Jun 2011 01:02:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 01:02:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jun 2011 01:02:15 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D53A342274C for ; Mon, 20 Jun 2011 01:01:54 +0000 (UTC) Date: Mon, 20 Jun 2011 01:01:54 +0000 (UTC) From: "Robert Muir (JIRA)" To: dev@lucene.apache.org Message-ID: <1909491237.19525.1308531714870.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-219) Determine if prefix, wildcard, fuzzy queries should be lowercased MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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