#ifndef __LUCENE_INDEX_TERM_VECTOR_READER__ #define __LUCENE_INDEX_TERM_VECTOR_READER__ #include #include "LCTermFreqVector.h" #include "LCFieldInfos.h" @interface LCTermVectorsReader: NSObject { LCFieldInfos *fieldInfos; LCIndexInput *tvx, *tvd, *tvf; long size, tvdFormat, tvfFormat; } - (id) initWithDirectory: (id ) d segment: (NSString *) segment fieldInfos: (LCFieldInfos *) fieldInfos; - (void) close; - (int) size; - (id ) termFrequencyVector: (int) document field: (NSString *) field; - (NSArray *) termFrequencyVectors: (int) document; @end #endif /* __LUCENE_INDEX_TERM_VECTOR_READER__ */