xapian-core  2.0.0
Public Member Functions | Public Attributes | List of all members
Xapian::RSet::Internal Class Reference

#include <rsetinternal.h>

+ Inheritance diagram for Xapian::RSet::Internal:
+ Collaboration diagram for Xapian::RSet::Internal:

Public Member Functions

void shard (Xapian::doccount n_shards, std::vector< Xapian::RSet > &rsets)
 
- Public Member Functions inherited from Xapian::Internal::intrusive_base
 intrusive_base ()
 Construct with no references. More...
 

Public Attributes

std::set< Xapian::dociddocs
 
- Public Attributes inherited from Xapian::Internal::intrusive_base
unsigned _refs
 Reference count. More...
 

Detailed Description

Definition at line 31 of file rsetinternal.h.

Member Function Documentation

◆ shard()

void Xapian::RSet::Internal::shard ( Xapian::doccount  n_shards,
std::vector< Xapian::RSet > &  rsets 
)
inline

Definition at line 38 of file rsetinternal.h.

References docs, Xapian::RSet::RSet(), shard_docid(), and shard_number().

Member Data Documentation

◆ docs

std::set<Xapian::docid> Xapian::RSet::Internal::docs

Definition at line 36 of file rsetinternal.h.

Referenced by Xapian::RSet::add_document(), and shard().


The documentation for this class was generated from the following file: