public interface Manager
Modifier and Type | Method and Description |
---|---|
IndexRef |
getIndexRef() |
SearchRequest |
newSearchRequest()
Ask for new SearchRequest object to be made.
|
SearchRequest |
newSearchRequest(String QueryID)
Ask for new SearchRequest object to be made.
|
SearchRequest |
newSearchRequest(String QueryID,
String query)
Ask for new SearchRequest object to be made, instantiated using the
specified query id, and that the specified query should be parsed.
|
SearchRequest |
newSearchRequestFromQuery(String query)
Ask for new SearchRequest object to be made given a query to be parsed
|
void |
runSearchRequest(SearchRequest srq)
This runs a given SearchRequest through the four retrieval stages and adds the ResultSet to the
SearchRequest object.
|
void |
setProperties(Properties p)
Set all these properties.
|
void |
setProperty(String key,
String value)
Provide a common interface for changing property values.
|
SearchRequest newSearchRequest()
SearchRequest newSearchRequest(String QueryID)
QueryID
- The request should be identified by QueryIDSearchRequest newSearchRequest(String QueryID, String query)
QueryID
- The request should be identified by QueryIDquery
- The actual user querySearchRequest newSearchRequestFromQuery(String query)
query
- The actual user queryvoid setProperty(String key, String value)
key
- Key of property to setvalue
- Value of property to setvoid setProperties(Properties p)
p
- All properties to setvoid runSearchRequest(SearchRequest srq)
srq
- - the SearchRequest to be processedIndexRef getIndexRef()
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow