public static class XContentStructure.InnerQuery extends XContentStructure
XContentStructure
that eagerly
parses the query in a streaming manner if the types are available at
construction time.XContentStructure.InnerQuery
Constructor and Description |
---|
InnerQuery(QueryParseContext parseContext1,
String... types) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
asQuery(String... types)
Return the query represented by the XContentStructure object,
returning the cached Query if it has already been parsed.
|
bytes, bytes, freeze
public InnerQuery(QueryParseContext parseContext1, @Nullable String... types) throws IOException
IOException
public org.apache.lucene.search.Query asQuery(String... types) throws IOException
asQuery
in class XContentStructure
types
- types to be used during the inner query parsingQuery
parsed from the bytes captured in freeze()
IOException
Copyright © 2009–2016. All rights reserved.