public class NullQueryResultCache extends Object implements QueryResultCache
Constructor and Description |
---|
NullQueryResultCache() |
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
|
public void reset()
QueryResultCache
reset
in interface QueryResultCache
public void add(SearchRequest q)
QueryResultCache
add
in interface QueryResultCache
public ResultSet checkCache(SearchRequest q)
QueryResultCache
checkCache
in interface QueryResultCache
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow