Lucene++ - a full-featured, c++ search engine
API Documentation
Taps into DocInverter, as an InvertedDocEndConsumer, which is called at the end of inverting each field. We just look at the length for the field (docState.length) and record the norm. More...
#include <NormsWriterPerField.h>
Public Member Functions | |
NormsWriterPerField (const DocInverterPerFieldPtr &docInverterPerField, const NormsWriterPerThreadPtr &perThread, const FieldInfoPtr &fieldInfo) | |
virtual | ~NormsWriterPerField () |
virtual String | getClassName () |
boost::shared_ptr< NormsWriterPerField > | shared_from_this () |
void | reset () |
virtual void | abort () |
virtual int32_t | compareTo (const LuceneObjectPtr &other) |
Compare two objects. | |
virtual void | finish () |
![]() | |
virtual | ~InvertedDocEndConsumerPerField () |
boost::shared_ptr< InvertedDocEndConsumerPerField > | shared_from_this () |
![]() | |
virtual | ~LuceneObject () |
virtual void | initialize () |
Called directly after instantiation to create objects that depend on this object being fully constructed. | |
virtual LuceneObjectPtr | clone (const LuceneObjectPtr &other=LuceneObjectPtr()) |
Return clone of this object. | |
virtual int32_t | hashCode () |
Return hash code for this object. | |
virtual bool | equals (const LuceneObjectPtr &other) |
Return whether two objects are equal. | |
virtual String | toString () |
Returns a string representation of the object. | |
![]() | |
virtual | ~LuceneSync () |
virtual SynchronizePtr | getSync () |
Return this object synchronize lock. | |
virtual LuceneSignalPtr | getSignal () |
Return this object signal. | |
virtual void | lock (int32_t timeout=0) |
Lock this object using an optional timeout. | |
virtual void | unlock () |
Unlock this object. | |
virtual bool | holdsLock () |
Returns true if this object is currently locked by current thread. | |
virtual void | wait (int32_t timeout=0) |
Wait for signal using an optional timeout. | |
virtual void | notifyAll () |
Notify all threads waiting for signal. | |
Static Public Member Functions | |
static String | _getClassName () |
![]() | |
static String | _getClassName () |
Data Fields | |
NormsWriterPerThreadWeakPtr | _perThread |
FieldInfoPtr | fieldInfo |
DocStatePtr | docState |
Collection< int32_t > | docIDs |
ByteArray | norms |
int32_t | upto |
FieldInvertStatePtr | fieldState |
Additional Inherited Members | |
![]() | |
LuceneObject () | |
![]() | |
SynchronizePtr | objectLock |
LuceneSignalPtr | objectSignal |
Taps into DocInverter, as an InvertedDocEndConsumer, which is called at the end of inverting each field. We just look at the length for the field (docState.length) and record the norm.
Lucene::NormsWriterPerField::NormsWriterPerField | ( | const DocInverterPerFieldPtr & | docInverterPerField, |
const NormsWriterPerThreadPtr & | perThread, | ||
const FieldInfoPtr & | fieldInfo | ||
) |
|
virtual |
|
inlinestatic |
|
virtual |
Implements Lucene::InvertedDocEndConsumerPerField.
|
virtual |
Compare two objects.
Reimplemented from Lucene::LuceneObject.
|
virtual |
Implements Lucene::InvertedDocEndConsumerPerField.
|
inlinevirtual |
Reimplemented from Lucene::InvertedDocEndConsumerPerField.
void Lucene::NormsWriterPerField::reset | ( | ) |
|
inline |
NormsWriterPerThreadWeakPtr Lucene::NormsWriterPerField::_perThread |
Collection<int32_t> Lucene::NormsWriterPerField::docIDs |
DocStatePtr Lucene::NormsWriterPerField::docState |
FieldInfoPtr Lucene::NormsWriterPerField::fieldInfo |
FieldInvertStatePtr Lucene::NormsWriterPerField::fieldState |
ByteArray Lucene::NormsWriterPerField::norms |
int32_t Lucene::NormsWriterPerField::upto |