Package org.elasticsearch.index.search
Class NestedHelper
java.lang.Object
org.elasticsearch.index.search.NestedHelper
Utility class to filter parent and children clauses when building nested
 queries.
- 
Constructor Summary
ConstructorsConstructorDescriptionNestedHelper(Function<String,ObjectMapper> objectMapperLookup, 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
public NestedHelper(Function<String,ObjectMapper> objectMapperLookup, Predicate<String> isMappedFieldPredicate) 
 - 
 - 
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. 
 -