Documents with both terms are likely to be returned first because they
are likely to score higher, but that isn't guaranteed. Google "lucene
scoring" for details.
If you absolutely must have docs with both terms first, you could
execute 2 searches: the first with AND and the second with OR, then
Hi,
I am trying to use OR operator, and want to know if it returns the results
comprising of both keywords contained first and then either keyword later.
To be more clear, if A OR B is enforced, should results with A and B are
returned first?
If not, how can I make sure that the OR operator