org.apache.lucene.codecs.simpletext
Class SimpleTextTermVectorsFormat

java.lang.Object
  extended by org.apache.lucene.codecs.TermVectorsFormat
      extended by org.apache.lucene.codecs.simpletext.SimpleTextTermVectorsFormat

public class SimpleTextTermVectorsFormat
extends TermVectorsFormat

plain text term vectors format.

FOR RECREATIONAL USE ONLY

WARNING: This API is experimental and might change in incompatible ways in the next release.

Constructor Summary
SimpleTextTermVectorsFormat()
           
 
Method Summary
 TermVectorsReader vectorsReader(Directory directory, SegmentInfo segmentInfo, FieldInfos fieldInfos, IOContext context)
          Returns a TermVectorsReader to read term vectors.
 TermVectorsWriter vectorsWriter(Directory directory, SegmentInfo segmentInfo, IOContext context)
          Returns a TermVectorsWriter to write term vectors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTextTermVectorsFormat

public SimpleTextTermVectorsFormat()
Method Detail

vectorsReader

public TermVectorsReader vectorsReader(Directory directory,
                                       SegmentInfo segmentInfo,
                                       FieldInfos fieldInfos,
                                       IOContext context)
                                throws IOException
Description copied from class: TermVectorsFormat
Returns a TermVectorsReader to read term vectors.

Specified by:
vectorsReader in class TermVectorsFormat
Throws:
IOException

vectorsWriter

public TermVectorsWriter vectorsWriter(Directory directory,
                                       SegmentInfo segmentInfo,
                                       IOContext context)
                                throws IOException
Description copied from class: TermVectorsFormat
Returns a TermVectorsWriter to write term vectors.

Specified by:
vectorsWriter in class TermVectorsFormat
Throws:
IOException


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.