Lucene++ - a full-featured, c++ search engine
API Documentation
Holds state for inverting all occurrences of a single field in the document. This class doesn't do anything itself; instead, it forwards the tokens produced by analysis to its own consumer (InvertedDocConsumerPerField). It also interacts with an endConsumer (InvertedDocEndConsumerPerField). More...
#include <DocInverterPerField.h>
Inheritance diagram for Lucene::DocInverterPerField:Public Member Functions | |
| DocInverterPerField (const DocInverterPerThreadPtr &perThread, const FieldInfoPtr &fieldInfo) | |
| virtual | ~DocInverterPerField () |
| virtual String | getClassName () |
| boost::shared_ptr< DocInverterPerField > | shared_from_this () |
| virtual void | initialize () |
| Called directly after instantiation to create objects that depend on this object being fully constructed. More... | |
| virtual void | abort () |
| virtual void | processFields (Collection< FieldablePtr > fields, int32_t count) |
| Processes all occurrences of a single field. More... | |
Public Member Functions inherited from Lucene::DocFieldConsumerPerField | |
| virtual | ~DocFieldConsumerPerField () |
| boost::shared_ptr< DocFieldConsumerPerField > | shared_from_this () |
Public Member Functions inherited from Lucene::LuceneObject | |
| virtual | ~LuceneObject () |
| virtual LuceneObjectPtr | clone (const LuceneObjectPtr &other=LuceneObjectPtr()) |
| Return clone of this object. More... | |
| virtual int32_t | hashCode () |
| Return hash code for this object. More... | |
| virtual bool | equals (const LuceneObjectPtr &other) |
| Return whether two objects are equal. More... | |
| virtual int32_t | compareTo (const LuceneObjectPtr &other) |
| Compare two objects. More... | |
| virtual String | toString () |
| Returns a string representation of the object. More... | |
Public Member Functions inherited from Lucene::LuceneSync | |
| virtual | ~LuceneSync () |
| virtual SynchronizePtr | getSync () |
| Return this object synchronize lock. More... | |
| virtual LuceneSignalPtr | getSignal () |
| Return this object signal. More... | |
| virtual void | lock (int32_t timeout=0) |
| Lock this object using an optional timeout. More... | |
| virtual void | unlock () |
| Unlock this object. More... | |
| virtual bool | holdsLock () |
| Returns true if this object is currently locked by current thread. More... | |
| virtual void | wait (int32_t timeout=0) |
| Wait for signal using an optional timeout. More... | |
| virtual void | notifyAll () |
| Notify all threads waiting for signal. More... | |
Static Public Member Functions | |
| static String | _getClassName () |
Static Public Member Functions inherited from Lucene::DocFieldConsumerPerField | |
| static String | _getClassName () |
Data Fields | |
| InvertedDocConsumerPerFieldPtr | consumer |
| InvertedDocEndConsumerPerFieldPtr | endConsumer |
| DocStatePtr | docState |
| FieldInvertStatePtr | fieldState |
Protected Attributes | |
| DocInverterPerThreadWeakPtr | _perThread |
| FieldInfoPtr | fieldInfo |
Protected Attributes inherited from Lucene::LuceneSync | |
| SynchronizePtr | objectLock |
| LuceneSignalPtr | objectSignal |
Additional Inherited Members | |
Protected Member Functions inherited from Lucene::LuceneObject | |
| LuceneObject () | |
Holds state for inverting all occurrences of a single field in the document. This class doesn't do anything itself; instead, it forwards the tokens produced by analysis to its own consumer (InvertedDocConsumerPerField). It also interacts with an endConsumer (InvertedDocEndConsumerPerField).
| Lucene::DocInverterPerField::DocInverterPerField | ( | const DocInverterPerThreadPtr & | perThread, |
| const FieldInfoPtr & | fieldInfo | ||
| ) |
|
virtual |
|
inlinestatic |
|
virtual |
Implements Lucene::DocFieldConsumerPerField.
|
inlinevirtual |
Reimplemented from Lucene::DocFieldConsumerPerField.
|
virtual |
Called directly after instantiation to create objects that depend on this object being fully constructed.
Reimplemented from Lucene::LuceneObject.
|
virtual |
Processes all occurrences of a single field.
Implements Lucene::DocFieldConsumerPerField.
|
inline |
|
protected |
| InvertedDocConsumerPerFieldPtr Lucene::DocInverterPerField::consumer |
| DocStatePtr Lucene::DocInverterPerField::docState |
| InvertedDocEndConsumerPerFieldPtr Lucene::DocInverterPerField::endConsumer |
|
protected |
| FieldInvertStatePtr Lucene::DocInverterPerField::fieldState |