public override DocValuesProducer NormsProducer(SegmentReadState state)
 {
     return(new Lucene42DocValuesProducer(state, DATA_CODEC, DATA_EXTENSION, METADATA_CODEC, METADATA_EXTENSION));
 }
Exemple #2
0
 public override FieldsProducer FieldsProducer(SegmentReadState state)
 {
     return(new Lucene3xFields(state.Directory, state.FieldInfos, state.SegmentInfo, state.Context, state.TermsIndexDivisor));
 }
Exemple #3
0
 public override PostingsReaderBase PostingsReaderBase(SegmentReadState state)
 {
     return(new Lucene41PostingsReader(state.Directory, state.FieldInfos, state.SegmentInfo, state.Context, state.SegmentSuffix));
 }
Exemple #4
0
 /// <summary>
 /// Returns a <see cref="DocValuesProducer"/> to read norms from the index.
 /// <para/>
 /// NOTE: by the time this call returns, it must hold open any files it will
 /// need to use; else, those files may be deleted. Additionally, required files
 /// may be deleted during the execution of this call before there is a chance
 /// to open them. Under these circumstances an <see cref="System.IO.IOException"/> should be thrown by
 /// the implementation. <see cref="System.IO.IOException"/> are expected and will automatically cause
 /// a retry of the segment opening logic with the newly revised segments.
 /// </summary>
 public abstract DocValuesProducer NormsProducer(SegmentReadState state);
Exemple #5
0
 /// <summary>
 /// Creates the <see cref="Codecs.PostingsReaderBase"/> for this
 /// format.
 /// </summary>
 public abstract PostingsReaderBase PostingsReaderBase(SegmentReadState state);