public class MissingQueryParser extends Object implements QueryParser
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static boolean |
DEFAULT_EXISTENCE_VALUE |
static boolean |
DEFAULT_NULL_VALUE |
static String |
NAME |
| コンストラクタと説明 |
|---|
MissingQueryParser() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String[] |
names()
The names this query parser is registered under.
|
static org.apache.lucene.search.Query |
newFilter(QueryParseContext parseContext,
String fieldPattern,
boolean existence,
boolean nullValue,
String queryName) |
org.apache.lucene.search.Query |
parse(QueryParseContext parseContext)
Parses the into a query from the current parser location.
|
public static final boolean DEFAULT_NULL_VALUE
public static final boolean DEFAULT_EXISTENCE_VALUE
@Inject public MissingQueryParser()
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 インタフェース内 QueryParserIOExceptionQueryParsingExceptionpublic static org.apache.lucene.search.Query newFilter(QueryParseContext parseContext, String fieldPattern, boolean existence, boolean nullValue, String queryName)
Copyright © 2009–2016. All rights reserved.