lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Taylor <>
Subject Re: Problem using wildcardsearch in phrase search
Date Sat, 12 May 2007 22:15:40 GMT
Mark Miller wrote:
> Didn't you say you where using a phrasequery? If you are, things will 
> not work as expected. You need to leave the quotes out of your search 
> as a phrasequery will not match what you are putting in your index. If 
> you are not using a phrasequery then things should work as you would 
> expect. Can you provide any other info?
> - Mark

No, I meant I was parsing a search String of the form fieldname:"MusicIP 
Puid*" (because I was using quotes and it is surrounded by double quotes 
I called it a phrase query), then I use the QueryParser().parse() to 
convert this search string into a Query (as shown in the code I posted 

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

View raw message