Package org.apache.lucene.internal.tests
Interface IndexWriterAccess
-
public interface IndexWriterAccess
Access toIndexWriter
internals exposed to the test framework.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getDocWriterThreadPoolSize(IndexWriter iw)
DirectoryReader
getReader(IndexWriter iw, boolean applyDeletions, boolean writeAllDeletes)
int
getSegmentCount(IndexWriter iw)
boolean
isClosed(IndexWriter iw)
boolean
isDeleterClosed(IndexWriter iw)
SegmentCommitInfo
newestSegment(IndexWriter iw)
String
segString(IndexWriter iw)
-
-
-
Method Detail
-
segString
String segString(IndexWriter iw)
-
getSegmentCount
int getSegmentCount(IndexWriter iw)
-
isClosed
boolean isClosed(IndexWriter iw)
-
getReader
DirectoryReader getReader(IndexWriter iw, boolean applyDeletions, boolean writeAllDeletes) throws IOException
- Throws:
IOException
-
getDocWriterThreadPoolSize
int getDocWriterThreadPoolSize(IndexWriter iw)
-
isDeleterClosed
boolean isDeleterClosed(IndexWriter iw)
-
newestSegment
SegmentCommitInfo newestSegment(IndexWriter iw)
-
-