|
| | TermsHash (const DocumentsWriterPtr &docWriter, bool trackAllocations, const TermsHashConsumerPtr &consumer, const TermsHashPtr &nextTermsHash) |
| |
| virtual | ~TermsHash () |
| |
| virtual String | getClassName () |
| |
| boost::shared_ptr< TermsHash > | shared_from_this () |
| |
| virtual InvertedDocConsumerPerThreadPtr | addThread (const DocInverterPerThreadPtr &docInverterPerThread) |
| | Add a new thread. More...
|
| |
| virtual TermsHashPerThreadPtr | addThread (const DocInverterPerThreadPtr &docInverterPerThread, const TermsHashPerThreadPtr &primaryPerThread) |
| |
| virtual void | setFieldInfos (const FieldInfosPtr &fieldInfos) |
| |
| virtual void | abort () |
| | Abort (called after hitting AbortException) NOTE: do not make this sync'd; it's not necessary (DW ensures all other threads are idle), and it leads to deadlock. More...
|
| |
| void | shrinkFreePostings (MapInvertedDocConsumerPerThreadCollectionInvertedDocConsumerPerField threadsAndFields, const SegmentWriteStatePtr &state) |
| |
| virtual void | closeDocStore (const SegmentWriteStatePtr &state) |
| | Close doc stores. More...
|
| |
| virtual void | flush (MapInvertedDocConsumerPerThreadCollectionInvertedDocConsumerPerField threadsAndFields, const SegmentWriteStatePtr &state) |
| | Flush a new segment. More...
|
| |
| virtual bool | freeRAM () |
| | Attempt to free RAM, returning true if any RAM was freed. More...
|
| |
| void | recyclePostings (Collection< RawPostingListPtr > postings, int32_t numPostings) |
| |
| void | getPostings (Collection< RawPostingListPtr > postings) |
| |
| virtual | ~InvertedDocConsumer () |
| |
| virtual String | getClassName () |
| |
| boost::shared_ptr< InvertedDocConsumer > | shared_from_this () |
| |
| virtual InvertedDocConsumerPerThreadPtr | addThread (const DocInverterPerThreadPtr &docInverterPerThread)=0 |
| | Add a new thread. More...
|
| |
| virtual void | abort ()=0 |
| | Abort (called after hitting AbortException) More...
|
| |
| virtual void | flush (MapInvertedDocConsumerPerThreadCollectionInvertedDocConsumerPerField threadsAndFields, const SegmentWriteStatePtr &state)=0 |
| | Flush a new segment. More...
|
| |
| virtual void | closeDocStore (const SegmentWriteStatePtr &state)=0 |
| | Close doc stores. More...
|
| |
| virtual bool | freeRAM ()=0 |
| | Attempt to free RAM, returning true if any RAM was freed. More...
|
| |
| virtual void | setFieldInfos (const FieldInfosPtr &fieldInfos) |
| |
| virtual | ~LuceneObject () |
| |
| virtual void | initialize () |
| | Called directly after instantiation to create objects that depend on this object being fully constructed. More...
|
| |
| 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...
|
| |
| 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...
|
| |
This class implements InvertedDocConsumer, which is passed each token produced by the analyzer on each field. It stores these tokens in a hash table, and allocates separate byte streams per token. Consumers of this class, eg FreqProxTermsWriter and TermVectorsTermsWriter, write their own byte streams under each term.