lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "eyal post (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-489) Wildcard Queries with leading "*"
Date Fri, 10 Mar 2006 06:35:39 GMT
    [ http://issues.apache.org/jira/browse/LUCENE-489?page=comments#action_12369816 ] 

eyal post commented on LUCENE-489:
----------------------------------

I'd like to ask that this issue be reconsidered. I suggest the following:
1. Turn on the built in QueryParser support for leading wildcards (in QueryParser.jj)
2. Disable the support for leading wildcards in the default QueryParser java class implementation
but allow users to override that class and enable it there.

I see many people going for different approaches to handling leading wildcard queries through
QueryParser and I beleive most of them eventually recompile QueryParser.jj after making the
relevant changes there. 

This might not be an issue for Java users (simple run JavaCC again and you have the QueryParser.java
source), but it is especially important for users of the ported versions of Lucene (in my
case DotLucene). For every Lucene version I have to recreate QueryParser.java using JavaCC
and then do the porting job from java to c#.  

> Wildcard Queries with leading "*"
> ---------------------------------
>
>          Key: LUCENE-489
>          URL: http://issues.apache.org/jira/browse/LUCENE-489
>      Project: Lucene - Java
>         Type: Wish
>   Components: QueryParser
>     Reporter: Peter Schäfer

>
> It would be nice to have wildcard queries with a leading wildcard ("?" or "*").
> I'm aware that this is a well-known issue, and I do understand the reasons behind it,
> but try explaining that to our end-users ... :-(

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message