public class MoreLikeThisQueryParser extends Object implements QueryParser
Modifier and Type | Class and Description |
---|---|
static class |
MoreLikeThisQueryParser.Fields |
Constructor and Description |
---|
MoreLikeThisQueryParser() |
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.
|
void |
setFetchService(MoreLikeThisFetchService fetchService) |
public static final String NAME
@Inject(optional=true) public void setFetchService(@Nullable MoreLikeThisFetchService fetchService)
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.