Class DirectoryReader
An IndexReader which reads indexes with multiple segments.
Inheritance
System.Object
DirectoryReader
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class DirectoryReader : IndexReader, IDisposable
Fields
Properties
Methods
Name |
Description |
AcquireWriteLock()
|
Tries to acquire the WriteLock on this directory. this method is only valid if this IndexReader is directory
owner.
|
Clone()
|
|
Clone(Boolean)
|
|
Directory()
|
Returns the directory this index resides in.
|
DocFreq(Term)
|
|
DoClose()
|
|
DoCommit(IDictionary<String, String>)
|
Commit changes resulting from delete, undeleteAll, or setNorm operations
If an exception is hit, then either no changes or all changes will have been committed to the index (transactional
semantics).
|
Document(Int32, FieldSelector)
|
|
DoDelete(Int32)
|
|
DoSetNorm(Int32, String, Byte)
|
|
DoUndeleteAll()
|
|
GetFieldNames(IndexReader.FieldOption)
|
|
GetSequentialSubReaders()
|
|
GetTermFreqVector(Int32, TermVectorMapper)
|
|
GetTermFreqVector(Int32, String)
|
|
GetTermFreqVector(Int32, String, TermVectorMapper)
|
|
GetTermFreqVectors(Int32)
|
|
HasNorms(String)
|
|
IsCurrent()
|
|
IsDeleted(Int32)
|
|
IsOptimized()
|
Checks is the index is optimized (if it has a single segment and no deletions)
|
ListCommits(Directory)
|
|
Norms(String)
|
|
Norms(String, Byte[], Int32)
|
|
NumDocs()
|
|
Reopen()
|
|
Reopen(IndexCommit)
|
|
Reopen(Boolean)
|
|
TermDocs()
|
|
TermPositions()
|
|
Terms()
|
|
Terms(Term)
|
|