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


FreqProxTermsWriterPerField.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 FREQPROXTERMSWRITERPERFIELD_H
8 #define FREQPROXTERMSWRITERPERFIELD_H
9 
11 
12 namespace Lucene {
13 
15 public:
18 
20 
21 public:
30 
31 public:
32  virtual int32_t getStreamCount();
33  virtual void finish();
34  virtual void skippingLongTerm();
35  virtual int32_t compareTo(const LuceneObjectPtr& other);
36  void reset();
37  virtual bool start(Collection<FieldablePtr> fields, int32_t count);
38  virtual void start(const FieldablePtr& field);
39  void writeProx(const FreqProxTermsWriterPostingListPtr& p, int32_t proxCode);
40  virtual void newTerm(const RawPostingListPtr& p);
41  virtual void addTerm(const RawPostingListPtr& p);
42  void abort();
43 };
44 
45 }
46 
47 #endif
boost::shared_ptr< LuceneObject > LuceneObjectPtr
Definition: LuceneTypes.h:539
TermsHashPerFieldWeakPtr _termsHashPerField
Definition: FreqProxTermsWriterPerField.h:23
boost::shared_ptr< FreqProxTermsWriterPostingList > FreqProxTermsWriterPostingListPtr
Definition: LuceneTypes.h:151
FieldInvertStatePtr fieldState
Definition: FreqProxTermsWriterPerField.h:26
bool omitTermFreqAndPositions
Definition: FreqProxTermsWriterPerField.h:27
PayloadAttributePtr payloadAttribute
Definition: FreqProxTermsWriterPerField.h:28
FreqProxTermsWriterPerThreadWeakPtr _perThread
Definition: FreqProxTermsWriterPerField.h:19
FreqProxTermsWriterPerField(const TermsHashPerFieldPtr &termsHashPerField, const FreqProxTermsWriterPerThreadPtr &perThread, const FieldInfoPtr &fieldInfo)
boost::shared_ptr< PayloadAttribute > PayloadAttributePtr
Definition: LuceneTypes.h:41
DocStatePtr docState
Definition: FreqProxTermsWriterPerField.h:25
boost::shared_ptr< TermsHashPerField > TermsHashPerFieldPtr
Definition: LuceneTypes.h:250
boost::shared_ptr< FieldInfo > FieldInfoPtr
Definition: LuceneTypes.h:126
virtual int32_t compareTo(const LuceneObjectPtr &other)
Compare two objects.
boost::shared_ptr< FieldInvertState > FieldInvertStatePtr
Definition: LuceneTypes.h:128
virtual void addTerm(const RawPostingListPtr &p)
void writeProx(const FreqProxTermsWriterPostingListPtr &p, int32_t proxCode)
boost::weak_ptr< FreqProxTermsWriterPerThread > FreqProxTermsWriterPerThreadWeakPtr
Definition: LuceneTypes.h:150
Definition: FreqProxTermsWriterPerField.h:14
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< Fieldable > FieldablePtr
Definition: LuceneTypes.h:76
Implement this class to plug into the TermsHash processor, which inverts & stores Tokens into a hash ...
Definition: TermsHashConsumerPerField.h:16
bool hasPayloads
Definition: FreqProxTermsWriterPerField.h:29
FieldInfoPtr fieldInfo
Definition: FreqProxTermsWriterPerField.h:24
virtual bool start(Collection< FieldablePtr > fields, int32_t count)
boost::shared_ptr< FreqProxTermsWriterPerThread > FreqProxTermsWriterPerThreadPtr
Definition: LuceneTypes.h:150
boost::shared_ptr< RawPostingList > RawPostingListPtr
Definition: LuceneTypes.h:201
boost::weak_ptr< TermsHashPerField > TermsHashPerFieldWeakPtr
Definition: LuceneTypes.h:250
boost::shared_ptr< DocState > DocStatePtr
Definition: LuceneTypes.h:122
virtual void newTerm(const RawPostingListPtr &p)

clucene.sourceforge.net