Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Public Member Functions | List of all members
Lucene.Net.Index.TermsHash Class Reference

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

Lucene.Net.Index.TermsHash.TermsHash ( DocumentsWriter  docWriter,
bool  trackAllocations,
TermsHashConsumer  consumer,
TermsHash  nextTermsHash 
)

Definition at line 46 of file TermsHash.cs.

Member Function Documentation

override void Lucene.Net.Index.TermsHash.Abort ( )
virtual

Abort (called after hitting AbortException)

Implements Lucene.Net.Index.InvertedDocConsumer.

Definition at line 81 of file TermsHash.cs.

override bool Lucene.Net.Index.TermsHash.FreeRAM ( )
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.


The documentation for this class was generated from the following file: