[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to