Package org.apache.lucene.index
Class FreqProxTermsWriter
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 class
private 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 void
applyDeletes
(SegmentWriteState state, Fields fields) void
flush
(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:
flush
in classTermsHash
- Throws:
IOException
-
addField
-