public interface QueryResultCache
Modifier and Type | Method and Description |
---|---|
void |
add(SearchRequest q)
Add the results for the specified query to the cache
|
ResultSet |
checkCache(SearchRequest q)
Returns the ResultSet for the specified query, or null
if that query has no cached results.
|
void |
reset()
Clears the cache
|
ResultSet checkCache(SearchRequest q)
void add(SearchRequest q)
void reset()
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow