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