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()
FilterParser
names
in interface FilterParser
public org.apache.lucene.search.Filter parse(QueryParseContext parseContext) throws IOException, QueryParsingException
FilterParser
parse
in interface FilterParser
IOException
QueryParsingException
public static org.apache.lucene.search.Filter newFilter(QueryParseContext parseContext, String fieldPattern, String filterName)
Copyright © 2009–2015. All rights reserved.