lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Pryor <>
Subject RE: Suffix query
Date Thu, 24 Jun 2004 18:42:26 GMT
Thanks, Erik. Using the WildcardQuery worked fine, and was much simpler.

-----Original Message-----
From: Erik Hatcher [] 
Sent: Thursday, June 24, 2004 11:10 AM
To: Lucene Developers List
Subject: Re: Suffix query

WildcardQuery supports suffix (*something) queries when used through the API
(QueryParser does not allow asterisks at the beginning).  So I don't think
what you've done is necessary... just use a WildcardQuery with a leading

There are alternative approaches to this by changing how you index to
accommodate suffix queries (reverse what goes in, reverse it and do a prefix
query during querying).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message