Skip to content

Commit

Permalink
Add some comments
Browse files Browse the repository at this point in the history
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
  • Loading branch information
harshavamsi committed Apr 29, 2024
1 parent 8d6b239 commit 5ad46d4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ public Relation isFieldWithinQuery(
DateMathParser dateParser,
QueryRewriteContext context
) throws IOException {
// if we have only doc_values enabled we do not look at the BKD so we return an INTERSECTS by default
if (isSearchable() == false && hasDocValues()) {
return Relation.INTERSECTS;
}
Expand Down

0 comments on commit 5ad46d4

Please sign in to comment.