Method | Description | |
---|---|---|
Dispose ( ) : void |
Remove all our references to readers, and commits any pending changes.
|
|
Get ( |
Obtain a SegmentReader from the readerPool. The reader must be returned by calling Release(SegmentReader)
|
|
Get ( |
Obtain a SegmentReader from the readerPool. The reader must be returned by calling Release(SegmentReader)
|
|
GetIfExists ( |
||
GetReadOnlyClone ( |
Returns a ref to a clone. NOTE: this clone is not enrolled in the pool, so you should simply close() it when you're done (ie, do not call release()).
|
|
InfoIsLive ( |
||
MapToLive ( |
||
ReaderPool ( |
||
Release ( Lucene.Net.Index.SegmentReader sr ) : void |
Release the segment reader (i.e. decRef it and close if there are no more references.
|
|
Release ( Lucene.Net.Index.SegmentReader sr, bool drop ) : void |
Release the segment reader (i.e. decRef it and close if there are no more references.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
Clear ( |
Forcefully clear changes for the specifed segments, and remove from the pool. This is called on succesful merge.
|
|
Commit ( ) : void |
Commit all segment reader in the pool.
|
|
InitBlock ( |
public Get ( |
||
info | /// | |
doOpenStores | bool | /// |
return | Lucene.Net.Index.SegmentReader |
public Get ( |
||
info | /// | |
doOpenStores | bool | /// |
readBufferSize | int | /// |
termsIndexDivisor | int | /// |
return | Lucene.Net.Index.SegmentReader |
public GetIfExists ( |
||
info | ||
return | Lucene.Net.Index.SegmentReader |
public GetReadOnlyClone ( |
||
info | ||
doOpenStores | bool | |
termInfosIndexDivisor | int | |
return | Lucene.Net.Index.SegmentReader |
public InfoIsLive ( |
||
info | ||
return | bool |
public MapToLive ( |
||
info | ||
return |
public ReaderPool ( |
||
enclosingInstance | ||
return | System |
public Release ( Lucene.Net.Index.SegmentReader sr ) : void | ||
sr | Lucene.Net.Index.SegmentReader | /// |
return | void |
public Release ( Lucene.Net.Index.SegmentReader sr, bool drop ) : void | ||
sr | Lucene.Net.Index.SegmentReader | /// |
drop | bool | |
return | void |