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

bool IndexModifier::document ( const int32_t  n,
CL_NS(document)::Document doc 

Returns the stored fields of the n-th Document in this index.

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 Document will be invalid

Definition at line 241 of file IndexModifier.cpp.

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

      return indexReader->document(n, doc);

Generated by  Doxygen 1.6.0   Back to index