Свойство | Тип | Описание | |
---|---|---|---|
internalDirectory | Lucene.Net.Store.Directory | ||
readOnly | bool |
Метод | Описание | |
---|---|---|
Clone ( bool openReadOnly ) : |
||
Clone ( ) : Object | ||
Directory ( ) : Lucene.Net.Store.Directory |
Returns the directory this index resides in.
|
|
DocFreq ( Lucene.Net.Index.Term t ) : int | ||
Document ( int n, Lucene.Net.Documents.FieldSelector fieldSelector ) : Lucene.Net.Documents.Document | ||
GetFieldNames ( |
||
GetSequentialSubReaders ( ) : Lucene.Net.Index.IndexReader[] | ||
GetTermFreqVector ( int n, System field ) : ITermFreqVector | ||
GetTermFreqVector ( int docNumber, System field, Lucene.Net.Index.TermVectorMapper mapper ) : void | ||
GetTermFreqVector ( int docNumber, Lucene.Net.Index.TermVectorMapper mapper ) : void | ||
GetTermFreqVectors ( int n ) : ITermFreqVector[] | ||
HasNorms ( System field ) : bool | ||
IsCurrent ( ) : bool | ||
IsDeleted ( int n ) : bool | ||
IsOptimized ( ) : bool |
Checks is the index is optimized (if it has a single segment and no deletions)
|
|
ListCommits ( Lucene.Net.Store.Directory dir ) : ICollection |
||
Norms ( System field ) : byte[] | ||
Norms ( System field, byte result, int offset ) : void | ||
NumDocs ( ) : int | ||
Reopen ( ) : |
||
Reopen ( |
||
Reopen ( bool openReadOnly ) : |
||
TermDocs ( ) : TermDocs | ||
TermPositions ( ) : TermPositions | ||
Terms ( ) : Lucene.Net.Index.TermEnum | ||
Terms ( Lucene.Net.Index.Term term ) : Lucene.Net.Index.TermEnum |
Метод | Описание | |
---|---|---|
AcquireWriteLock ( ) : void |
Tries to acquire the WriteLock on this directory. this method is only valid if this IndexReader is directory owner. if another writer has this index open (
|
|
DoClose ( ) : void | ||
DoCommit ( string>.IDictionary |
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).
|
|
DoDelete ( int n ) : void | ||
DoSetNorm ( int n, System field, byte value_Renamed ) : void | ||
DoUndeleteAll ( ) : void |
Метод | Описание | |
---|---|---|
DirectoryReader ( |
||
DirectoryReader ( Lucene.Net.Store.Directory directory, |
Construct reading the named set of readers.
|
|
DirectoryReader ( Lucene.Net.Store.Directory directory, |
This constructor is only used for Reopen()
|
|
DoReopen ( |
||
DoReopen ( bool openReadOnly, |
||
DoReopenFromWriter ( bool openReadOnly, |
||
DoReopenNoWriter ( bool openReadOnly, |
||
GetFieldNames ( |
||
Initialize ( Lucene.Net.Index.SegmentReader subReaders ) : void | ||
Open ( Lucene.Net.Store.Directory directory, IndexDeletionPolicy deletionPolicy, |
||
ReaderIndex ( int n ) : int | ||
ReaderIndex ( int n, int starts, int numSubReaders ) : int | ||
RollbackCommit ( ) : void | ||
StartCommit ( ) : void |
public Clone ( bool openReadOnly ) : |
||
openReadOnly | bool | |
Результат |
public Directory ( ) : Lucene.Net.Store.Directory | ||
Результат | Lucene.Net.Store.Directory |
protected DoCommit ( string>.IDictionary |
||
commitUserData | string>.IDictionary | |
Результат | void |
protected DoSetNorm ( int n, System field, byte value_Renamed ) : void | ||
n | int | |
field | System | |
value_Renamed | byte | |
Результат | void |
public DocFreq ( Lucene.Net.Index.Term t ) : int | ||
t | Lucene.Net.Index.Term | |
Результат | int |
public Document ( int n, Lucene.Net.Documents.FieldSelector fieldSelector ) : Lucene.Net.Documents.Document | ||
n | int | |
fieldSelector | Lucene.Net.Documents.FieldSelector | |
Результат | Lucene.Net.Documents.Document |
public GetFieldNames ( |
||
fieldNames | ||
Результат | ICollection |
public GetSequentialSubReaders ( ) : Lucene.Net.Index.IndexReader[] | ||
Результат | Lucene.Net.Index.IndexReader[] |
public GetTermFreqVector ( int n, System field ) : ITermFreqVector | ||
n | int | |
field | System | |
Результат | ITermFreqVector |
public GetTermFreqVector ( int docNumber, System field, Lucene.Net.Index.TermVectorMapper mapper ) : void | ||
docNumber | int | |
field | System | |
mapper | Lucene.Net.Index.TermVectorMapper | |
Результат | void |
public GetTermFreqVector ( int docNumber, Lucene.Net.Index.TermVectorMapper mapper ) : void | ||
docNumber | int | |
mapper | Lucene.Net.Index.TermVectorMapper | |
Результат | void |
public GetTermFreqVectors ( int n ) : ITermFreqVector[] | ||
n | int | |
Результат | ITermFreqVector[] |
public static ListCommits ( Lucene.Net.Store.Directory dir ) : ICollection |
||
dir | Lucene.Net.Store.Directory | |
Результат | ICollection |
public Norms ( System field, byte result, int offset ) : void | ||
field | System | |
result | byte | |
offset | int | |
Результат | void |
public Reopen ( |
||
commit | ||
Результат |
public Reopen ( bool openReadOnly ) : |
||
openReadOnly | bool | |
Результат |
public Terms ( ) : Lucene.Net.Index.TermEnum | ||
Результат | Lucene.Net.Index.TermEnum |
public Terms ( Lucene.Net.Index.Term term ) : Lucene.Net.Index.TermEnum | ||
term | Lucene.Net.Index.Term | |
Результат | Lucene.Net.Index.TermEnum |
protected Lucene.Net.Store.Directory internalDirectory | ||
Результат | Lucene.Net.Store.Directory |