24 #ifndef OM_HGUARD_DOCUMENTTERM_H    25 #define OM_HGUARD_DOCUMENTTERM_H   102         return positions.size();
   126         positions.push_back(termpos);
   184     bool is_deleted()
 const { 
return positions.empty() && split > 0; }
   190 #endif // OM_HGUARD_DOCUMENTTERM_H OmDocumentTerm(Xapian::termcount wdf_)
Make a new term. 
 
Xapian::termcount wdf
Within document frequency of the term. 
 
void merge() const
Merge sorted ranges before and after split. 
 
void decrease_wdf(Xapian::termcount delta)
Decrease within-document frequency. 
 
unsigned split
Split point in the position range. 
 
bool is_deleted() const
Has this term been deleted from this document? 
 
unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount
A counts of terms. 
 
string get_description() const
Return a string describing this object. 
 
const term_positions * get_vector_termpos() const
 
Xapian::termcount get_wdf() const
Get the wdf. 
 
term_positions positions
Positional information. 
 
vector< Xapian::termpos > term_positions
 
#define LOGCALL_CTOR(CATEGORY, CLASS, PARAMS)
 
Xapian::termcount positionlist_count() const
 
bool increase_wdf(Xapian::termcount delta)
Increase within-document frequency. 
 
void remove_position(Xapian::termpos tpos)
Remove an entry from the position list. 
 
unsigned XAPIAN_TERMPOS_BASE_TYPE termpos
A term position within a document or query. 
 
void append_position(Xapian::termpos termpos)
Append a position. 
 
bool add_position(Xapian::termcount wdf_inc, Xapian::termpos termpos)
Add a position. 
 
Xapian::termpos remove_positions(Xapian::termpos termpos_first, Xapian::termpos termpos_last)
Remove a range of positions.