#include <enquire.h>
Public Methods | |
RSet (const RSet &rset) | |
Copy constructor. More... | |
void | operator= (const RSet &rset) |
Assignment operator. More... | |
RSet () | |
Default constructor. More... | |
~RSet () | |
Destructor. More... | |
Xapian::doccount | size () const |
The number of documents in this R-Set. More... | |
bool | empty () const |
Test if this R-Set is empty. More... | |
void | add_document (Xapian::docid did) |
Add a document to the relevance set. More... | |
void | add_document (const Xapian::MSetIterator &i) |
Add a document to the relevance set. More... | |
void | remove_document (Xapian::docid did) |
Remove a document from the relevance set. More... | |
void | remove_document (const Xapian::MSetIterator &i) |
Remove a document from the relevance set. More... | |
bool | contains (Xapian::docid did) const |
Test if a given document in the relevance set. More... | |
bool | contains (const Xapian::MSetIterator &i) |
Test if a given document in the relevance set. More... | |
std::string | get_description () const |
Introspection method. More... | |
Public Attributes | |
Internal * | internal |
This is the set of documents which are marked as relevant, for use in modifying the term weights, and in performing query expansion.
|
Copy constructor.
|
|
Default constructor.
|
|
Destructor.
|
|
Add a document to the relevance set.
|
|
Add a document to the relevance set.
|
|
Test if a given document in the relevance set.
|
|
Test if a given document in the relevance set.
|
|
Test if this R-Set is empty.
|
|
Introspection method.
|
|
Assignment operator.
|
|
Remove a document from the relevance set.
|
|
Remove a document from the relevance set.
|
|
The number of documents in this R-Set.
|