Class Lucene90PostingsReader
- java.lang.Object
-
- org.apache.lucene.codecs.PostingsReaderBase
-
- org.apache.lucene.backward_codecs.lucene90.Lucene90PostingsReader
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public final class Lucene90PostingsReader extends PostingsReaderBase
Concrete class that reads docId(maybe frq,pos,offset,payloads) list with postings format.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description Lucene90PostingsReader(SegmentReadState state)
Sole constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkIntegrity()
void
close()
void
decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute)
ImpactsEnum
impacts(FieldInfo fieldInfo, BlockTermState state, int flags)
void
init(IndexInput termsIn, SegmentReadState state)
BlockTermState
newTermState()
PostingsEnum
postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)
String
toString()
-
-
-
Constructor Detail
-
Lucene90PostingsReader
public Lucene90PostingsReader(SegmentReadState state) throws IOException
Sole constructor.- Throws:
IOException
-
-
Method Detail
-
init
public void init(IndexInput termsIn, SegmentReadState state) throws IOException
- Specified by:
init
in classPostingsReaderBase
- Throws:
IOException
-
newTermState
public BlockTermState newTermState()
- Specified by:
newTermState
in classPostingsReaderBase
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classPostingsReaderBase
- Throws:
IOException
-
decodeTerm
public void decodeTerm(DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) throws IOException
- Specified by:
decodeTerm
in classPostingsReaderBase
- Throws:
IOException
-
postings
public PostingsEnum postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags) throws IOException
- Specified by:
postings
in classPostingsReaderBase
- Throws:
IOException
-
impacts
public ImpactsEnum impacts(FieldInfo fieldInfo, BlockTermState state, int flags) throws IOException
- Specified by:
impacts
in classPostingsReaderBase
- Throws:
IOException
-
checkIntegrity
public void checkIntegrity() throws IOException
- Specified by:
checkIntegrity
in classPostingsReaderBase
- Throws:
IOException
-
-