|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectQueryProcessor
public abstract class QueryProcessor
Takes a QueryRequest, rewrites the queries if necessary to remove stop- words and form bi-grams, then consults the index(es), and produces a QueryResult.
| Constructor Summary | |
|---|---|
QueryProcessor()
|
|
| Method Summary | |
|---|---|
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.) |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryProcessor()
| Method Detail |
|---|
public abstract QueryResult processRequest(QueryRequest req)
throws IOException
req - The request to process
IOExceptionpublic void resetCache()
public void setXtfHome(String homeDir)
public void setIndexWarmer(IndexWarmer warmer)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||