You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's assume that there are two clauses: Clause A and Clause B. Now the effect of the BooleanClause.Occur will be as follows:
In first case, both clause A and B have BooleanClause.Occur.Should flag set. This will imply that even if one of the clause is satisfied (A or B), then the document will be a hit.
In second case, clause A has BooleanClause.Occur.Must flag set and clause B has BooleanClause.Occur.Should flag set.
In this case, a document will be a hit when it "will" satisfy clause A. Whether this document satisfies clause B or not will have no effect on it being a hit.
But if the document does not satisfies clause A, then no matter whether it satisfies clause B or not, it will not be a hit.
In third case, both clause A and clause B have the BooleanClause.Occur.Must flag set.
In this case, a document will be a hit, only when it will satisfy "both" the clauses. If it will fail to satisfy even one of the clause, then it will not be a hit.
Is this already supported? Else we need to add this support.
The text was updated successfully, but these errors were encountered: