Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Classes | Public Member Functions | List of all members
Lucene.Net.Index.DocFieldProcessorPerThread Class Reference

Gathers all Fieldables for a document under the same name, updates FieldInfos, and calls per-field consumers to process field by field. More...

Inherits Lucene.Net.Index.DocConsumerPerThread.

Classes

class  PerDoc
 

Public Member Functions

 DocFieldProcessorPerThread (DocumentsWriterThreadState threadState, DocFieldProcessor docFieldProcessor)
 
override void Abort ()
 
System.Collections.Generic.ICollection
< DocFieldConsumerPerField
Fields ()
 
override DocumentsWriter.DocWriter ProcessDocument ()
 Process the document. If there is something for this document to be done in docID order, you should encapsulate that as a DocumentsWriter.DocWriter and return it. DocumentsWriter then calls finish() on this object when it's its turn.
 

Detailed Description

Gathers all Fieldables for a document under the same name, updates FieldInfos, and calls per-field consumers to process field by field.

Currently, only a single thread visits the fields, sequentially, for processing.

Definition at line 35 of file DocFieldProcessorPerThread.cs.

Constructor & Destructor Documentation

Lucene.Net.Index.DocFieldProcessorPerThread.DocFieldProcessorPerThread ( DocumentsWriterThreadState  threadState,
DocFieldProcessor  docFieldProcessor 
)

Definition at line 61 of file DocFieldProcessorPerThread.cs.

Member Function Documentation

override void Lucene.Net.Index.DocFieldProcessorPerThread.Abort ( )
virtual
System.Collections.Generic.ICollection<DocFieldConsumerPerField> Lucene.Net.Index.DocFieldProcessorPerThread.Fields ( )

Definition at line 87 of file DocFieldProcessorPerThread.cs.

override DocumentsWriter.DocWriter Lucene.Net.Index.DocFieldProcessorPerThread.ProcessDocument ( )
virtual

Process the document. If there is something for this document to be done in docID order, you should encapsulate that as a DocumentsWriter.DocWriter and return it. DocumentsWriter then calls finish() on this object when it's its turn.

Implements Lucene.Net.Index.DocConsumerPerThread.

Definition at line 174 of file DocFieldProcessorPerThread.cs.


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