Try using an IndexSearcher.explain on a document in the search results
that you know has "b" - this will give you the gory details of why.
Also, try to simplify without MultiFieldQueryParser - its got plenty of
known issues - for now and see what that gives you.
Erik
On Mar 3, 2005, at
Niraj Alok writes:
> Hi,
>
> When I am putting the query as 'a not b' there are some documents coming up
> which have 'b' as well.
>
> I am searching on 3 fields using a MultiFieldQueryParser and while debugging
> the query is also getting shown as
> (field1:a -field1:b) (field2:a -field2:b) (fie
Hi,
When I am putting the query as 'a not b' there are some documents coming up
which have 'b' as well.
I am searching on 3 fields using a MultiFieldQueryParser and while debugging
the query is also getting shown as
(field1:a -field1:b) (field2:a -field2:b) (field3:a -field3:b)
Yet the results h