|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.codecs.PostingsReaderBase org.apache.lucene.codecs.lucene40.Lucene40PostingsReader
@Deprecated public class Lucene40PostingsReader
Concrete class that reads the 4.0 frq/prox postings format.
Lucene40PostingsFormat
Constructor Summary | |
---|---|
Lucene40PostingsReader(Directory dir,
FieldInfos fieldInfos,
SegmentInfo segmentInfo,
IOContext ioContext,
String segmentSuffix)
Deprecated. Sole constructor. |
Method Summary | |
---|---|
void |
close()
Deprecated. |
void |
decodeTerm(long[] longs,
DataInput in,
FieldInfo fieldInfo,
BlockTermState _termState,
boolean absolute)
Deprecated. Actually decode metadata for next term |
DocsEnum |
docs(FieldInfo fieldInfo,
BlockTermState termState,
Bits liveDocs,
DocsEnum reuse,
int flags)
Deprecated. Must fully consume state, since after this call that TermState may be reused. |
DocsAndPositionsEnum |
docsAndPositions(FieldInfo fieldInfo,
BlockTermState termState,
Bits liveDocs,
DocsAndPositionsEnum reuse,
int flags)
Deprecated. Must fully consume state, since after this call that TermState may be reused. |
void |
init(IndexInput termsIn)
Deprecated. Performs any initialization, such as reading and verifying the header from the provided terms dictionary IndexInput . |
BlockTermState |
newTermState()
Deprecated. Return a newly created empty TermState |
long |
ramBytesUsed()
Deprecated. Returns approximate RAM bytes used |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lucene40PostingsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo segmentInfo, IOContext ioContext, String segmentSuffix) throws IOException
IOException
Method Detail |
---|
public void init(IndexInput termsIn) throws IOException
PostingsReaderBase
IndexInput
.
init
in class PostingsReaderBase
IOException
public BlockTermState newTermState()
PostingsReaderBase
newTermState
in class PostingsReaderBase
public void close() throws IOException
close
in interface Closeable
close
in class PostingsReaderBase
IOException
public void decodeTerm(long[] longs, DataInput in, FieldInfo fieldInfo, BlockTermState _termState, boolean absolute) throws IOException
PostingsReaderBase
decodeTerm
in class PostingsReaderBase
IOException
PostingsWriterBase.encodeTerm(long[], org.apache.lucene.store.DataOutput, org.apache.lucene.index.FieldInfo, org.apache.lucene.codecs.BlockTermState, boolean)
public DocsEnum docs(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsEnum reuse, int flags) throws IOException
PostingsReaderBase
docs
in class PostingsReaderBase
IOException
public DocsAndPositionsEnum docsAndPositions(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsAndPositionsEnum reuse, int flags) throws IOException
PostingsReaderBase
docsAndPositions
in class PostingsReaderBase
IOException
public long ramBytesUsed()
PostingsReaderBase
ramBytesUsed
in class PostingsReaderBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |