lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Taylor <paul_t...@fastmail.fm>
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 
earlier)



---------------------------------------------------------------------
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