xapian-core  1.4.21
Public Member Functions | Public Attributes | List of all members
InMemoryTerm Class Reference

#include <inmemory_database.h>

+ Collaboration diagram for InMemoryTerm:

Public Member Functions

 InMemoryTerm ()
 
void add_posting (const InMemoryPosting &post)
 

Public Attributes

vector< InMemoryPostingdocs
 
Xapian::termcount term_freq
 
Xapian::termcount collection_freq
 

Detailed Description

Definition at line 104 of file inmemory_database.h.

Constructor & Destructor Documentation

◆ InMemoryTerm()

InMemoryTerm::InMemoryTerm ( )
inline

Definition at line 112 of file inmemory_database.h.

Member Function Documentation

◆ add_posting()

void InMemoryTerm::add_posting ( const InMemoryPosting post)
inline

Definition at line 49 of file inmemory_database.cc.

References docs, and InMemoryPosting::merge().

Member Data Documentation

◆ collection_freq

Xapian::termcount InMemoryTerm::collection_freq

Definition at line 110 of file inmemory_database.h.

Referenced by InMemoryPostList::InMemoryPostList().

◆ docs

vector<InMemoryPosting> InMemoryTerm::docs

Definition at line 107 of file inmemory_database.h.

Referenced by add_posting().

◆ term_freq

Xapian::termcount InMemoryTerm::term_freq

Definition at line 109 of file inmemory_database.h.


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