[ 
http://issues.apache.org/jira/browse/LUCENE-489?page=comments#action_12363793 ] 

Cheolgoo Kang commented on LUCENE-489:
--------------------------------------

Why don't you reverse those analyzed tokens in another field?

If you have a field named 'CONTENT', make one another 'CONTENT_R' with all 
indexing terms reversed. eg, CONTENT:lucene, CONTENT_R:enecul. Then the query 
of "CONTENT:*xyz" is the same with "CONTENT_R:zyx*" and it would work great 
with custom QueryParser with QueryParser.getWildcardQuery() method overridden.

> 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