Class SimpleTextTermVectorsReader
- java.lang.Object
-
- org.apache.lucene.index.TermVectors
-
- org.apache.lucene.codecs.TermVectorsReader
-
- org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Cloneable
public class SimpleTextTermVectorsReader extends TermVectorsReader
Reads plain-text term vectors.FOR RECREATIONAL USE ONLY
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.index.TermVectors
EMPTY
-
-
Constructor Summary
Constructors Constructor Description SimpleTextTermVectorsReader(Directory directory, SegmentInfo si, IOContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckIntegrity()TermVectorsReaderclone()voidclose()Fieldsget(int doc)StringtoString()-
Methods inherited from class org.apache.lucene.codecs.TermVectorsReader
getMergeInstance
-
Methods inherited from class org.apache.lucene.index.TermVectors
get
-
-
-
-
Constructor Detail
-
SimpleTextTermVectorsReader
public SimpleTextTermVectorsReader(Directory directory, SegmentInfo si, IOContext context) throws IOException
- Throws:
IOException
-
-
Method Detail
-
get
public Fields get(int doc) throws IOException
- Specified by:
getin classTermVectors- Throws:
IOException
-
clone
public TermVectorsReader clone()
- Specified by:
clonein classTermVectorsReader
-
close
public void close() throws IOException- Throws:
IOException
-
checkIntegrity
public void checkIntegrity() throws IOException- Specified by:
checkIntegrityin classTermVectorsReader- Throws:
IOException
-
-