java.lang.Object
org.elasticsearch.index.search.NestedHelper
Utility class to filter parent and children clauses when building nested
queries.
-
Constructor Summary
ConstructorsConstructorDescriptionNestedHelper(NestedLookup nestedLookup, Predicate<String> isMappedFieldPredicate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanmightMatchNestedDocs(org.apache.lucene.search.Query query) Returns true if the given query might match nested documents.booleanmightMatchNonNestedDocs(org.apache.lucene.search.Query query, String nestedPath) Returns true if the given query might match parent documents or documents that are nested under a different path.
-
Constructor Details
-
NestedHelper
-
-
Method Details
-
mightMatchNestedDocs
public boolean mightMatchNestedDocs(org.apache.lucene.search.Query query) Returns true if the given query might match nested documents. -
mightMatchNonNestedDocs
Returns true if the given query might match parent documents or documents that are nested under a different path.
-