|
|||||||||
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. |
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
IOException
public void resetCache()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |