public class MissingFilterParser extends Object implements FilterParser
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_EXISTENCE_VALUE |
static boolean |
DEFAULT_NULL_VALUE |
static String |
NAME |
Constructor and Description |
---|
MissingFilterParser() |
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,
boolean existence,
boolean nullValue,
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
public static final boolean DEFAULT_NULL_VALUE
public static final boolean DEFAULT_EXISTENCE_VALUE
@Inject public MissingFilterParser()
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, boolean existence, boolean nullValue, String filterName)
Copyright © 2009–2015. All rights reserved.