org.apache.lucene.codecs.simpletext
Class SimpleTextSegmentInfoReader
java.lang.Object
org.apache.lucene.codecs.SegmentInfoReader
org.apache.lucene.codecs.simpletext.SimpleTextSegmentInfoReader
public class SimpleTextSegmentInfoReader
- extends SegmentInfoReader
reads plaintext segments files
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 |
SimpleTextSegmentInfoReader
public SimpleTextSegmentInfoReader()
read
public SegmentInfo read(Directory directory,
String segmentName,
IOContext context)
throws IOException
- Description copied from class:
SegmentInfoReader
- Read
SegmentInfo
data from a directory.
- Specified by:
read
in class SegmentInfoReader
- Parameters:
directory
- directory to read fromsegmentName
- name of the segment to read
- Returns:
- infos instance to be populated with data
- Throws:
IOException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.