org.apache.lucene.codecs.simpletext
Class SimpleTextNormsFormat.SimpleTextNormsConsumer
java.lang.Object
org.apache.lucene.codecs.DocValuesConsumer
org.apache.lucene.codecs.simpletext.SimpleTextNormsFormat.SimpleTextNormsConsumer
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- SimpleTextNormsFormat
public static class SimpleTextNormsFormat.SimpleTextNormsConsumer
- extends DocValuesConsumer
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 |
SimpleTextNormsFormat.SimpleTextNormsConsumer
public SimpleTextNormsFormat.SimpleTextNormsConsumer(SegmentWriteState state)
throws IOException
- Throws:
IOException
addNumericField
public void addNumericField(FieldInfo field,
Iterable<Number> values)
throws IOException
- Specified by:
addNumericField
in class DocValuesConsumer
- Throws:
IOException
addBinaryField
public void addBinaryField(FieldInfo field,
Iterable<BytesRef> values)
throws IOException
- Specified by:
addBinaryField
in class DocValuesConsumer
- Throws:
IOException
addSortedField
public void addSortedField(FieldInfo field,
Iterable<BytesRef> values,
Iterable<Number> docToOrd)
throws IOException
- Specified by:
addSortedField
in class DocValuesConsumer
- Throws:
IOException
addSortedSetField
public void addSortedSetField(FieldInfo field,
Iterable<BytesRef> values,
Iterable<Number> docToOrdCount,
Iterable<Number> ords)
throws IOException
- Specified by:
addSortedSetField
in class DocValuesConsumer
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.