Package org.apache.lucene.internal.tests
Interface IndexWriterAccess
-
public interface IndexWriterAccessAccess toIndexWriterinternals 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 intgetDocWriterThreadPoolSize(IndexWriter iw)DirectoryReadergetReader(IndexWriter iw, boolean applyDeletions, boolean writeAllDeletes)intgetSegmentCount(IndexWriter iw)booleanisClosed(IndexWriter iw)booleanisDeleterClosed(IndexWriter iw)SegmentCommitInfonewestSegment(IndexWriter iw)StringsegString(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)
-
-