public class ExistsFilterParser extends Object implements FilterParser
| Constructor and Description |
|---|
ExistsFilterParser() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
names()
The names this filter is registered under.
|
static org.apache.lucene.search.Filter |
newFilter(QueryParseContext parseContext,
String fieldPattern,
String filterName) |
org.apache.lucene.search.Filter |
parse(QueryParseContext parseContext)
Parses the into a filter from the current parser location.
|
public static final String NAME
@Inject public ExistsFilterParser()
public String[] names()
FilterParsernames in interface FilterParserpublic org.apache.lucene.search.Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException
FilterParserparse in interface FilterParserIOExceptionQueryParsingExceptionpublic static org.apache.lucene.search.Filter newFilter(QueryParseContext parseContext, String fieldPattern, String filterName)
Copyright © 2009–2016. All rights reserved.