public class MultiMatchQueryParser extends Object implements QueryParser
MatchQueryParser but has support for multiple fields.| コンストラクタと説明 |
|---|
MultiMatchQueryParser() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
@Inject public MultiMatchQueryParser()
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 インタフェース内 QueryParserIOExceptionQueryParsingExceptionCopyright © 2009–2016. All rights reserved.