Logo Search packages:      
Sourcecode: qt4-x11 version File versions

TermDocs * IndexModifier::termDocs ( Term *  term = NULL  ) 

Returns an enumeration of all the documents which contain term.

Warning: This is not threadsafe. Make sure you lock the modifier object while using the TermDocs. If the IndexReader that the modifier manages is closed, the TermDocs object will fail.

Definition at line 217 of file IndexModifier.cpp.

References assureOpen(), createIndexReader(), and IndexReader::termDocs().

      return indexReader->termDocs(term);

Generated by  Doxygen 1.6.0   Back to index