lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Bowesman <...@teamware.com>
Subject QueryParser bug?
Date Thu, 22 Feb 2007 04:36:43 GMT
Using QueryParser to parse *tex* seems to create a PrefixQuery rather than 
WildcardQuery due to the trailing *, rather than Wildcard because of the other 
leading *.

As a result, this does not match, for example "context".  I've swapped the order 
of WILDTERM and PREFIXTERM in queryparsr.jj but that just prevents PrefixQuery 
from ever being generated.

Is this a known problem and is there any way around it?
Antony


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


Mime
View raw message