public class GeoShapeQueryParser extends Object implements QueryParser
| 修飾子とタイプ | クラスと説明 |
|---|---|
static class |
GeoShapeQueryParser.DEFAULTS |
| コンストラクタと説明 |
|---|
GeoShapeQueryParser() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static org.apache.lucene.spatial.query.SpatialArgs |
getArgs(ShapeBuilder shape,
ShapeRelation relation) |
String[] |
names()
The names this query parser is registered under.
|
org.apache.lucene.search.Query |
parse(QueryParseContext parseContext)
Parses the into a query from the current parser location.
|
void |
setFetchService(ShapeFetchService fetchService) |
public String[] names()
QueryParsernames インタフェース内 QueryParserpublic org.apache.lucene.search.Query parse(QueryParseContext parseContext) throws IOException, QueryParsingException
QueryParserReturns null if this query should be ignored in the context of the DSL.
parse インタフェース内 QueryParserIOExceptionQueryParsingException@Inject(optional=true) public void setFetchService(@Nullable ShapeFetchService fetchService)
public static org.apache.lucene.spatial.query.SpatialArgs getArgs(ShapeBuilder shape, ShapeRelation relation)
Copyright © 2009–2016. All rights reserved.