org.apache.lucene.codecs.simpletext
Class SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer
java.lang.Object
org.apache.lucene.codecs.PerDocConsumer
org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- SimpleTextNormsFormat
public static class SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer
- extends PerDocConsumer
Writes plain-text norms.
FOR RECREATIONAL USE ONLY
- WARNING: This API is experimental and might change in incompatible ways in the next release.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
protected final PerDocWriteState state
segmentSuffix
protected final String segmentSuffix
SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer
public SimpleTextNormsFormat.SimpleTextNormsPerDocConsumer(PerDocWriteState state)
getDocValuesForMerge
protected DocValues getDocValuesForMerge(AtomicReader reader,
FieldInfo info)
throws IOException
- Overrides:
getDocValuesForMerge
in class PerDocConsumer
- Throws:
IOException
canMerge
protected boolean canMerge(FieldInfo info)
- Overrides:
canMerge
in class PerDocConsumer
getDocValuesType
protected DocValues.Type getDocValuesType(FieldInfo info)
- Overrides:
getDocValuesType
in class PerDocConsumer
abort
public void abort()
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class PerDocConsumer
- Throws:
IOException
addValuesField
public DocValuesConsumer addValuesField(DocValues.Type type,
FieldInfo field)
throws IOException
- Specified by:
addValuesField
in class PerDocConsumer
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.