Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
This class implements InvertedDocConsumer, which is passed each token produced by the analyzer on each field. It stores these tokens in a hash table, and allocates separate byte streams per token. Consumers of this class, eg FreqProxTermsWriter and TermVectorsTermsWriter , write their own byte streams under each term. More...
Inherits Lucene.Net.Index.InvertedDocConsumer.
Public Member Functions | |
TermsHash (DocumentsWriter docWriter, bool trackAllocations, TermsHashConsumer consumer, TermsHash nextTermsHash) | |
override void | Abort () |
Abort (called after hitting AbortException) | |
override bool | FreeRAM () |
Attempt to free RAM, returning true if any RAM was freed | |
void | RecyclePostings (RawPostingList[] postings, int numPostings) |
void | GetPostings (RawPostingList[] postings) |
This class implements InvertedDocConsumer, which is passed each token produced by the analyzer on each field. It stores these tokens in a hash table, and allocates separate byte streams per token. Consumers of this class, eg FreqProxTermsWriter and TermVectorsTermsWriter , write their own byte streams under each term.
Definition at line 33 of file TermsHash.cs.
Lucene.Net.Index.TermsHash.TermsHash | ( | DocumentsWriter | docWriter, |
bool | trackAllocations, | ||
TermsHashConsumer | consumer, | ||
TermsHash | nextTermsHash | ||
) |
Definition at line 46 of file TermsHash.cs.
|
virtual |
Abort (called after hitting AbortException)
Implements Lucene.Net.Index.InvertedDocConsumer.
Definition at line 81 of file TermsHash.cs.
|
virtual |
Attempt to free RAM, returning true if any RAM was freed
Implements Lucene.Net.Index.InvertedDocConsumer.
Definition at line 175 of file TermsHash.cs.
void Lucene.Net.Index.TermsHash.GetPostings | ( | RawPostingList[] | postings | ) |
Definition at line 231 of file TermsHash.cs.
void Lucene.Net.Index.TermsHash.RecyclePostings | ( | RawPostingList[] | postings, |
int | numPostings | ||
) |
Definition at line 215 of file TermsHash.cs.