public abstract class QueryProcessor
extends Object
| Constructor and Description |
|---|
QueryProcessor() |
| Modifier and Type | Method and Description |
|---|---|
abstract QueryResult |
processRequest(QueryRequest req)
Takes a query request and handles searching the index and forming
the results.
|
void |
resetCache()
Optional method: hint to the query processor to clear any cached
index data, so that recently indexed documents will appear in
search results.
|
void |
setIndexWarmer(IndexWarmer warmer)
Optional method: set the background warmer for indexes.
|
void |
setXtfHome(String homeDir)
Optional method: set the XTF home directory (used for background
warming in the default query processor.)
|
public abstract QueryResult processRequest(QueryRequest req) throws IOException
req - The request to processIOExceptionpublic void resetCache()
public void setXtfHome(String homeDir)
public void setIndexWarmer(IndexWarmer warmer)