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

void IndexModifier::addDocument ( CL_NS(document)::Document doc,
CL_NS(analysis)::Analyzer docAnalyzer = NULL 

Adds a document to this index, using the provided analyzer instead of the one specific in the constructor. If the document contains more than setMaxFieldLength(int32_t) terms for a given field, the remainder are discarded.

See also:
IndexWriter::addDocument(Document*, Analyzer*)
IllegalStateException if the index is closed

Generated by  Doxygen 1.6.0   Back to index