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.DocInverter Class Reference

This is a DocFieldConsumer that inverts each field, separately, from a Document, and accepts a InvertedTermsConsumer to process those terms. More...

Inherits Lucene.Net.Index.DocFieldConsumer.

Public Member Functions

 DocInverter (InvertedDocConsumer consumer, InvertedDocEndConsumer endConsumer)
 
override void Flush (IDictionary< DocFieldConsumerPerThread, ICollection< DocFieldConsumerPerField >> threadsAndFields, SegmentWriteState state)
 Called when DocumentsWriter decides to create a new segment
 
override void CloseDocStore (SegmentWriteState state)
 Called when DocumentsWriter decides to close the doc stores
 
override void Abort ()
 Called when an aborting exception is hit
 
override bool FreeRAM ()
 Called when DocumentsWriter is using too much RAM. The consumer should free RAM, if possible, returning true if any RAM was in fact freed.
 
override DocFieldConsumerPerThread AddThread (DocFieldProcessorPerThread docFieldProcessorPerThread)
 Add a new thread
 

Detailed Description

This is a DocFieldConsumer that inverts each field, separately, from a Document, and accepts a InvertedTermsConsumer to process those terms.

Definition at line 29 of file DocInverter.cs.

Constructor & Destructor Documentation

Lucene.Net.Index.DocInverter.DocInverter ( InvertedDocConsumer  consumer,
InvertedDocEndConsumer  endConsumer 
)

Definition at line 35 of file DocInverter.cs.

Member Function Documentation

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

Called when an aborting exception is hit

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 81 of file DocInverter.cs.

override DocFieldConsumerPerThread Lucene.Net.Index.DocInverter.AddThread ( DocFieldProcessorPerThread  docFieldProcessorPerThread)
virtual

Add a new thread

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 92 of file DocInverter.cs.

override void Lucene.Net.Index.DocInverter.CloseDocStore ( SegmentWriteState  state)
virtual

Called when DocumentsWriter decides to close the doc stores

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 75 of file DocInverter.cs.

override void Lucene.Net.Index.DocInverter.Flush ( IDictionary< DocFieldConsumerPerThread, ICollection< DocFieldConsumerPerField >>  threadsAndFields,
SegmentWriteState  state 
)
virtual

Called when DocumentsWriter decides to create a new segment

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 48 of file DocInverter.cs.

override bool Lucene.Net.Index.DocInverter.FreeRAM ( )
virtual

Called when DocumentsWriter is using too much RAM. The consumer should free RAM, if possible, returning true if any RAM was in fact freed.

Implements Lucene.Net.Index.DocFieldConsumer.

Definition at line 87 of file DocInverter.cs.


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