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.
|
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. | |
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.
Lucene.Net.Index.DocFieldProcessorPerThread.DocFieldProcessorPerThread | ( | DocumentsWriterThreadState | threadState, |
DocFieldProcessor | docFieldProcessor | ||
) |
Definition at line 61 of file DocFieldProcessorPerThread.cs.
|
virtual |
Implements Lucene.Net.Index.DocConsumerPerThread.
Definition at line 71 of file DocFieldProcessorPerThread.cs.
System.Collections.Generic.ICollection<DocFieldConsumerPerField> Lucene.Net.Index.DocFieldProcessorPerThread.Fields | ( | ) |
Definition at line 87 of file DocFieldProcessorPerThread.cs.
|
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.