xapian-core  1.4.26
Public Member Functions | Public Attributes | List of all members
InMemoryDoc Class Reference

Class representing a document and the terms indexing it. More...

#include <inmemory_database.h>

+ Collaboration diagram for InMemoryDoc:

Public Member Functions

 InMemoryDoc ()
 
 InMemoryDoc (bool is_valid_)
 
void add_posting (const std::string &tname, Xapian::termcount wdf, Xapian::termpos position, bool use_position)
 

Public Attributes

bool is_valid
 
vector< InMemoryTermEntryterms
 

Detailed Description

Class representing a document and the terms indexing it.

Definition at line 113 of file inmemory_database.h.

Constructor & Destructor Documentation

◆ InMemoryDoc() [1/2]

InMemoryDoc::InMemoryDoc ( )
inline

Definition at line 121 of file inmemory_database.h.

◆ InMemoryDoc() [2/2]

InMemoryDoc::InMemoryDoc ( bool  is_valid_)
inlineexplicit

Definition at line 124 of file inmemory_database.h.

Member Function Documentation

◆ add_posting()

void InMemoryDoc::add_posting ( const std::string &  tname,
Xapian::termcount  wdf,
Xapian::termpos  position,
bool  use_position 
)
inline

Member Data Documentation

◆ is_valid

bool InMemoryDoc::is_valid

Definition at line 115 of file inmemory_database.h.

◆ terms

vector<InMemoryTermEntry> InMemoryDoc::terms

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