lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2438) Case Insensitive Search for Wildcard Queries
Date Thu, 01 Mar 2012 13:10:00 GMT

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

Erick Erickson commented on SOLR-2438:
--------------------------------------

Duto:

A couple of things. First, in the future could you post this kind of usage question to the
users list? See: http://lucene.apache.org/solr/discussion.html. No big deal, but that way
more people see the discussion and benefit.

But to your question:
Have you enabled leading wildcard? See the ReversedWildcardFilterFactory. Leading wildcards
need some special handling because in the simple case, finding them means you have to examine
every term in the field and can be very expensive.

Second, you could get away with just using one analyzer since they're all the same, as
<analyzer>
.
.
.
</analyzer>

if no 'type=...' is specified, then the index and query and multiterm chains are use the analyzer
definition.

I doubt this issue is related to this JIRA, I think it's just the normal leading wildcard
issues.

Here's a discussion of this in some detail if you haven't seen it yet:
http://www.lucidimagination.com/blog/2011/11/29/whats-with-lowercasing-wildcard-multiterm-queries-in-solr/


Erick
                
> Case Insensitive Search for Wildcard Queries
> --------------------------------------------
>
>                 Key: SOLR-2438
>                 URL: https://issues.apache.org/jira/browse/SOLR-2438
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Peter Sturge
>            Assignee: Erick Erickson
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-2438-3x.patch, SOLR-2438-3x.patch, SOLR-2438.patch, SOLR-2438.patch,
SOLR-2438.patch, SOLR-2438.patch, SOLR-2438.patch, SOLR-2438.patch, SOLR-2438.patch, SOLR-2438.patch,
SOLR-2438.patch, SOLR-2438_3x.patch
>
>
> This patch adds support to allow case-insensitive queries on wildcard searches for configured
TextField field types.
> This patch extends the excellent work done Yonik and Michael in SOLR-219.
> The approach here is different enough (imho) to warrant a separate JIRA issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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