Well I am confused so I suppose I'll let someone else give it a shot.
Just in case though...if you are using the query: fieldname:"MusicIP Puid*"
Then you should not...you need to leave out the quotes...quotes create a
phrasequery, and a phrasequery will not match what is in your index.
This may end up being the problem though...without the quotes, the space
will be treated as the default operator -- you may need to write your
own super simple parser that suits your needs instead...you don't want
the space to act as a default operator but as a normal token character.
Then again, I am not sure if you are using those quotes or not...
- Mark
Paul Taylor wrote:
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]