Lucene++ - a full-featured, c++ search engine
API Documentation


DocFieldProcessor.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6 
7 #ifndef DOCFIELDPROCESSOR_H
8 #define DOCFIELDPROCESSOR_H
9 
10 #include "DocConsumer.h"
11 
12 namespace Lucene {
13 
18 public:
20  virtual ~DocFieldProcessor();
21 
23 
24 public:
29 
30 public:
31  virtual void closeDocStore(const SegmentWriteStatePtr& state);
32  virtual void flush(Collection<DocConsumerPerThreadPtr> threads, const SegmentWriteStatePtr& state);
33  virtual void abort();
34  virtual bool freeRAM();
36 };
37 
38 }
39 
40 #endif
Lucene::DocFieldProcessor::addThread
virtual DocConsumerPerThreadPtr addThread(const DocumentsWriterThreadStatePtr &perThread)
Lucene::DocFieldProcessor::consumer
DocFieldConsumerPtr consumer
Definition: DocFieldProcessor.h:27
Lucene::StoredFieldsWriterPtr
boost::shared_ptr< StoredFieldsWriter > StoredFieldsWriterPtr
Definition: LuceneTypes.h:230
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::DocFieldProcessor::fieldsWriter
StoredFieldsWriterPtr fieldsWriter
Definition: DocFieldProcessor.h:28
Lucene::DocumentsWriterWeakPtr
boost::weak_ptr< DocumentsWriter > DocumentsWriterWeakPtr
Definition: LuceneTypes.h:123
Lucene::Collection
Utility template class to handle collections that can be safely copied and shared.
Definition: Collection.h:17
Lucene::DocFieldProcessor::DocFieldProcessor
DocFieldProcessor(const DocumentsWriterPtr &docWriter, const DocFieldConsumerPtr &consumer)
Lucene::DocumentsWriterPtr
boost::shared_ptr< DocumentsWriter > DocumentsWriterPtr
Definition: LuceneTypes.h:123
DocConsumer.h
Lucene::DocFieldProcessor::abort
virtual void abort()
Lucene::FieldInfosPtr
boost::shared_ptr< FieldInfos > FieldInfosPtr
Definition: LuceneTypes.h:127
Lucene::DocConsumerPerThreadPtr
boost::shared_ptr< DocConsumerPerThread > DocConsumerPerThreadPtr
Definition: LuceneTypes.h:107
Lucene::DocFieldProcessor::freeRAM
virtual bool freeRAM()
Lucene::SegmentWriteStatePtr
boost::shared_ptr< SegmentWriteState > SegmentWriteStatePtr
Definition: LuceneTypes.h:222
Lucene::DocFieldProcessor
This is a DocConsumer that gathers all fields under the same name, and calls per-field consumers to p...
Definition: DocFieldProcessor.h:17
Lucene::DocFieldProcessor::~DocFieldProcessor
virtual ~DocFieldProcessor()
Lucene::DocFieldProcessor::_docWriter
DocumentsWriterWeakPtr _docWriter
Definition: DocFieldProcessor.h:22
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::DocFieldProcessor::fieldInfos
FieldInfosPtr fieldInfos
Definition: DocFieldProcessor.h:26
Lucene::DocumentsWriterThreadStatePtr
boost::shared_ptr< DocumentsWriterThreadState > DocumentsWriterThreadStatePtr
Definition: LuceneTypes.h:124
Lucene::DocFieldProcessor::closeDocStore
virtual void closeDocStore(const SegmentWriteStatePtr &state)
Lucene::DocFieldProcessor::flush
virtual void flush(Collection< DocConsumerPerThreadPtr > threads, const SegmentWriteStatePtr &state)
Lucene::DocFieldConsumerPtr
boost::shared_ptr< DocFieldConsumer > DocFieldConsumerPtr
Definition: LuceneTypes.h:108
Lucene::DocConsumer
Definition: DocConsumer.h:14

clucene.sourceforge.net