Class SimpleTextPointsFormat
- java.lang.Object
-
- org.apache.lucene.codecs.PointsFormat
-
- org.apache.lucene.codecs.simpletext.SimpleTextPointsFormat
-
public final class SimpleTextPointsFormat extends PointsFormat
For debugging, curiosity, transparency only!! Do not use this codec in production.This codec stores all dimensional data in a single human-readable text file (_N.dim). You can view this in any text editor, and even edit it to alter your index.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.codecs.PointsFormat
EMPTY
-
-
Constructor Summary
Constructors Constructor Description SimpleTextPointsFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointsReader
fieldsReader(SegmentReadState state)
PointsWriter
fieldsWriter(SegmentWriteState state)
-
-
-
Method Detail
-
fieldsWriter
public PointsWriter fieldsWriter(SegmentWriteState state) throws IOException
- Specified by:
fieldsWriter
in classPointsFormat
- Throws:
IOException
-
fieldsReader
public PointsReader fieldsReader(SegmentReadState state) throws IOException
- Specified by:
fieldsReader
in classPointsFormat
- Throws:
IOException
-
-