strus  0.17
Public Member Functions | Public Attributes | List of all members
strus::DocumentTermIteratorInterface::Term Struct Reference

#include <documentTermIteratorInterface.hpp>

Public Member Functions

 Term ()
 Default contructor. More...
 
 Term (Index tf_, Index firstpos_, Index termno_)
 Contructor. More...
 
 Term (const Term &o)
 Copy contructor. More...
 
void init (Index tf_, Index firstpos_, Index termno_)
 Initialization. More...
 

Public Attributes

Index tf
 term frequency in the document More...
 
Index firstpos
 first occurrence term position in the document More...
 
Index termno
 internal term number (only valid in local server context, use the method DocumentTermIteratorInterface::termValue(const Index& termno)const to get the term value string) More...
 

Constructor & Destructor Documentation

strus::DocumentTermIteratorInterface::Term::Term ( )
inline

Default contructor.

strus::DocumentTermIteratorInterface::Term::Term ( Index  tf_,
Index  firstpos_,
Index  termno_ 
)
inline

Contructor.

Parameters
[in]tf_term frequency in the document
[in]firstpos_first occurrence term position in the document
[in]termno_local storage internal term number
strus::DocumentTermIteratorInterface::Term::Term ( const Term o)
inline

Copy contructor.

Member Function Documentation

void strus::DocumentTermIteratorInterface::Term::init ( Index  tf_,
Index  firstpos_,
Index  termno_ 
)
inline

Initialization.

Member Data Documentation

Index strus::DocumentTermIteratorInterface::Term::firstpos

first occurrence term position in the document

Index strus::DocumentTermIteratorInterface::Term::termno

internal term number (only valid in local server context, use the method DocumentTermIteratorInterface::termValue(const Index& termno)const to get the term value string)

Index strus::DocumentTermIteratorInterface::Term::tf

term frequency in the document


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