#include <QueryResult.h>
Public Methods | |
QueryResult (Query query, vector< NumID > resultList) | |
QueryResult (Query query) | |
Query | getQuery () |
void | addResult (NumID docid) |
void | deleteResult (NumID docid) |
vector< NumID >::iterator | getIterator () |
|
Constructs a new QueryResult from the supplied file ID's.
|
|
Constructs a new, empty QueryResult.
|
|
Adds a document identifier to the results.
|
|
Deletes a docid identifier from the results. PRE: None (the document ID does not actually have to be present in this QueryResult). POST: The supplied result is not listed in this QueryResult.
|
|
Creates an iterator for the document ID's in this query result.
|
|
Returns the query that lead to the results contained in this object.
|