public class FunctionScoreQueryParser extends Object implements QueryParser
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
static ParseField |
WEIGHT_FIELD |
Constructor and Description |
---|
FunctionScoreQueryParser(ScoreFunctionParserMapper funtionParserMapper) |
Modifier and Type | Method and Description |
---|---|
String[] |
names()
The names this query parser is registered under.
|
org.apache.lucene.search.Query |
parse(QueryParseContext parseContext)
Parses the into a query from the current parser location.
|
public static final String NAME
public static final ParseField WEIGHT_FIELD
@Inject public FunctionScoreQueryParser(ScoreFunctionParserMapper funtionParserMapper)
public String[] names()
QueryParser
names
in interface QueryParser
public org.apache.lucene.search.Query parse(QueryParseContext parseContext) throws IOException, QueryParsingException
QueryParser
parse
in interface QueryParser
IOException
QueryParsingException
Copyright © 2009–2015. All rights reserved.