Package org.elasticsearch.index.search
Class NestedHelper
- java.lang.Object
-
- org.elasticsearch.index.search.NestedHelper
-
public final class NestedHelper extends Object
Utility class to filter parent and children clauses when building nested queries.
-
-
Constructor Summary
Constructors Constructor Description NestedHelper(MapperService mapperService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmightMatchNestedDocs(Query query)Returns true if the given query might match nested documents.booleanmightMatchNonNestedDocs(Query query, String nestedPath)Returns true if the given query might match parent documents or documents that are nested under a different path.
-
-
-
Constructor Detail
-
NestedHelper
public NestedHelper(MapperService mapperService)
-
-
Method Detail
-
mightMatchNestedDocs
public boolean mightMatchNestedDocs(Query query)
Returns true if the given query might match nested documents.
-
-