public class FQueryFilterParser extends Object implements FilterParser
QueryFilterParser
except that it allows also to
associate a name with the query filter.Constructor and Description |
---|
FQueryFilterParser() |
Modifier and Type | Method and Description |
---|---|
String[] |
names()
The names this filter is registered under.
|
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 FQueryFilterParser()
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
Copyright © 2009–2015. All rights reserved.