java.lang.Object
org.apache.lucene.index.TermsHash
org.apache.lucene.index.FreqProxTermsWriter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class(package private) static classprivate static class -
Field Summary
Fields inherited from class org.apache.lucene.index.TermsHash
bytePool, bytesUsed, intPool, nextTermsHash, termBytePool -
Constructor Summary
ConstructorsConstructorDescriptionFreqProxTermsWriter(IntBlockPool.Allocator intBlockAllocator, ByteBlockPool.Allocator byteBlockAllocator, Counter bytesUsed, TermsHash termVectors) -
Method Summary
Modifier and TypeMethodDescriptionaddField(FieldInvertState invertState, FieldInfo fieldInfo) private voidapplyDeletes(SegmentWriteState state, Fields fields) voidflush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) Methods inherited from class org.apache.lucene.index.TermsHash
abort, finishDocument, reset, startDocument
-
Constructor Details
-
FreqProxTermsWriter
FreqProxTermsWriter(IntBlockPool.Allocator intBlockAllocator, ByteBlockPool.Allocator byteBlockAllocator, Counter bytesUsed, TermsHash termVectors)
-
-
Method Details
-
applyDeletes
- Throws:
IOException
-
flush
public void flush(Map<String, TermsHashPerField> fieldsToFlush, SegmentWriteState state, Sorter.DocMap sortMap, NormsProducer norms) throws IOException- Overrides:
flushin classTermsHash- Throws:
IOException
-
addField
-