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


Loading...
Searching...
No Matches
DocInverterPerThread.h
Go to the documentation of this file.
1
2// 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 DOCINVERTERPERTHREAD_H
8#define DOCINVERTERPERTHREAD_H
9
11#include "AttributeSource.h"
12
13namespace Lucene {
14
43
45public:
48
50
51public:
54
55public:
56 void reinit(const String& stringValue, int32_t startOffset, int32_t endOffset);
57};
58
59}
60
61#endif
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
An AttributeSource contains a list of different Attributes, and methods to add and get them....
Definition AttributeSource.h:43
Definition DocFieldConsumerPerThread.h:14
This is a DocFieldConsumer that inverts each field, separately, from a Document, and accepts a Invert...
Definition DocInverterPerThread.h:17
SingleTokenAttributeSourcePtr singleToken
Definition DocInverterPerThread.h:28
DocInverterPerThread(const DocFieldProcessorPerThreadPtr &docFieldProcessorPerThread, const DocInverterPtr &docInverter)
virtual void initialize()
Called directly after instantiation to create objects that depend on this object being fully construc...
FieldInvertStatePtr fieldState
Definition DocInverterPerThread.h:31
virtual DocWriterPtr finishDocument()
DocStatePtr docState
Definition DocInverterPerThread.h:30
InvertedDocEndConsumerPerThreadPtr endConsumer
Definition DocInverterPerThread.h:27
InvertedDocConsumerPerThreadPtr consumer
Definition DocInverterPerThread.h:26
virtual DocFieldConsumerPerFieldPtr addField(const FieldInfoPtr &fi)
ReusableStringReaderPtr stringReader
Used to read a string value for a field.
Definition DocInverterPerThread.h:34
DocInverterWeakPtr _docInverter
Definition DocInverterPerThread.h:25
Definition DocInverterPerThread.h:44
void reinit(const String &stringValue, int32_t startOffset, int32_t endOffset)
TermAttributePtr termAttribute
Definition DocInverterPerThread.h:52
OffsetAttributePtr offsetAttribute
Definition DocInverterPerThread.h:53
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< DocState > DocStatePtr
Definition LuceneTypes.h:122
boost::shared_ptr< SingleTokenAttributeSource > SingleTokenAttributeSourcePtr
Definition LuceneTypes.h:224
boost::shared_ptr< FieldInvertState > FieldInvertStatePtr
Definition LuceneTypes.h:128
boost::shared_ptr< DocFieldConsumerPerField > DocFieldConsumerPerFieldPtr
Definition LuceneTypes.h:109
boost::weak_ptr< DocInverter > DocInverterWeakPtr
Definition LuceneTypes.h:119
boost::shared_ptr< TermAttribute > TermAttributePtr
Definition LuceneTypes.h:58
boost::shared_ptr< OffsetAttribute > OffsetAttributePtr
Definition LuceneTypes.h:40
boost::shared_ptr< DocInverter > DocInverterPtr
Definition LuceneTypes.h:119
boost::shared_ptr< DocWriter > DocWriterPtr
Definition LuceneTypes.h:125
boost::shared_ptr< InvertedDocEndConsumerPerThread > InvertedDocEndConsumerPerThreadPtr
Definition LuceneTypes.h:168
boost::shared_ptr< DocFieldProcessorPerThread > DocFieldProcessorPerThreadPtr
Definition LuceneTypes.h:117
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition LuceneTypes.h:126
boost::shared_ptr< ReusableStringReader > ReusableStringReaderPtr
Definition LuceneTypes.h:207
boost::shared_ptr< InvertedDocConsumerPerThread > InvertedDocConsumerPerThreadPtr
Definition LuceneTypes.h:165

clucene.sourceforge.net