public class MoreLikeThisQueryParser extends Objectimplements QueryParser
| Modifier and Type | Class and Description |
|---|---|
static class |
MoreLikeThisQueryParser
|
| Constructor and Description |
|---|
MoreLikeThisQueryParser()
|
| Modifier and Type | Method and Description |
|---|---|
String |
names()
The names this query parser is registered under.
|
org |
parse(QueryParseContext
Parses the into a query from the current parser location.
|
void |
setFetchService(MoreLikeThisFetchService
|
public static final StringNAME
@Inject(optional=true) public void setFetchService(@Nullable MoreLikeThisFetchServicefetchService)
public String[] names()
QueryParser
public org.apache .lucene .search .Query parse(QueryParseContext parseContext) throws IOException , QueryParsingException
QueryParser
parse in interface
QueryParser
IOException
QueryParsingException