java.lang.Object
org.elasticsearch.index.search.NestedHelper
Utility class to filter parent and children clauses when building nested
queries.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanmightMatchNestedDocs(org.apache.lucene.search.Query query, SearchExecutionContext searchExecutionContext) Returns true if the given query might match nested documents.static booleanmightMatchNonNestedDocs(org.apache.lucene.search.Query query, String nestedPath, SearchExecutionContext searchExecutionContext) Returns true if the given query might match parent documents or documents that are nested under a different path.
-
Method Details
-
mightMatchNestedDocs
public static boolean mightMatchNestedDocs(org.apache.lucene.search.Query query, SearchExecutionContext searchExecutionContext) Returns true if the given query might match nested documents. -
mightMatchNonNestedDocs
public static boolean mightMatchNonNestedDocs(org.apache.lucene.search.Query query, String nestedPath, SearchExecutionContext searchExecutionContext) Returns true if the given query might match parent documents or documents that are nested under a different path.
-