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 |
|---|
XContentStructure.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, freezepublic XContentStructure.InnerQuery(QueryParseContext parseContext1, @Nullable String... types) throws IOException
IOExceptionpublic org.apache.lucene.search.Query asQuery(String... types) throws IOException
asQuery in class XContentStructuretypes - types to be used during the inner query parsingQuery parsed from the bytes captured in freeze()IOExceptionCopyright © 2009–2016. All rights reserved.