2. +field:foo and the QueryParser:giving strange
I ran into some problems where using +field:foo wasresults. When I changed the queries to "... AND field:foo"everythingwas fine. Am I missing something there?
Which version of Lucene are you using? There have been some fixes in the query parser of Lucene 1.2, but I don't know precisely which.
I am using 1.3 RC 2. The AND workaround is fine... just caught me by surprise.
If you run into the strange results again, try doing a Query.toString("field") to see what QueryParser thought of the query expression. I'd be curious to know more about this issue.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
