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

FreqProxFieldMergeState.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 FREQPROXFIELDMERGESTATE_H
8 #define FREQPROXFIELDMERGESTATE_H
9
10 #include "LuceneObject.h"
11
12 namespace Lucene {
13
15 class FreqProxFieldMergeState : public LuceneObject {
16 public:
17 FreqProxFieldMergeState(const FreqProxTermsWriterPerFieldPtr& field);
18 virtual ~FreqProxFieldMergeState();
19
20 LUCENE_CLASS(FreqProxFieldMergeState);
21
22 public:
23 FreqProxTermsWriterPerFieldPtr field;
24 int32_t numPostings;
25 CharBlockPoolPtr charPool;
26 Collection<RawPostingListPtr> postings;
27
28 FreqProxTermsWriterPostingListPtr p;
29 CharArray text;
30 int32_t textOffset;
31
32 ByteSliceReaderPtr freq;
33 ByteSliceReaderPtr prox;
34
35 int32_t docID;
36 int32_t termFreq;
37
38 protected:
39 int32_t postingUpto;
40
41 public:
42 bool nextTerm();
43 bool nextDoc();
44 };
45
46 }
47
48 #endif
Lucene::FreqProxFieldMergeState::field
FreqProxTermsWriterPerFieldPtr field
Definition: FreqProxFieldMergeState.h:20
Lucene::FreqProxFieldMergeState::nextDoc
bool nextDoc()
Lucene::FreqProxFieldMergeState::postingUpto
int32_t postingUpto
Definition: FreqProxFieldMergeState.h:39
Lucene::FreqProxFieldMergeState::numPostings
int32_t numPostings
Definition: FreqProxFieldMergeState.h:24
Lucene::FreqProxTermsWriterPostingListPtr
boost::shared_ptr< FreqProxTermsWriterPostingList > FreqProxTermsWriterPostingListPtr
Definition: LuceneTypes.h:151
Lucene::FreqProxTermsWriterPerFieldPtr
boost::shared_ptr< FreqProxTermsWriterPerField > FreqProxTermsWriterPerFieldPtr
Definition: LuceneTypes.h:149
Lucene::CharBlockPoolPtr
boost::shared_ptr< CharBlockPool > CharBlockPoolPtr
Definition: LuceneTypes.h:93
LuceneObject.h
Lucene::FreqProxFieldMergeState::FreqProxFieldMergeState
FreqProxFieldMergeState(const FreqProxTermsWriterPerFieldPtr &field)
Lucene::ByteSliceReaderPtr
boost::shared_ptr< ByteSliceReader > ByteSliceReaderPtr
Definition: LuceneTypes.h:91
Lucene::FreqProxFieldMergeState::prox
ByteSliceReaderPtr prox
Definition: FreqProxFieldMergeState.h:33
Lucene::FreqProxFieldMergeState::charPool
CharBlockPoolPtr charPool
Definition: FreqProxFieldMergeState.h:25
Lucene::FreqProxFieldMergeState::~FreqProxFieldMergeState
virtual ~FreqProxFieldMergeState()
Lucene::FreqProxFieldMergeState::text
CharArray text
Definition: FreqProxFieldMergeState.h:29
Lucene::FreqProxFieldMergeState::nextTerm
bool nextTerm()
Lucene::LuceneObject
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Lucene::FreqProxFieldMergeState::p
FreqProxTermsWriterPostingListPtr p
Definition: FreqProxFieldMergeState.h:28
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::FreqProxFieldMergeState::docID
int32_t docID
Definition: FreqProxFieldMergeState.h:35
Lucene::FreqProxFieldMergeState
Used by DocumentsWriter to merge the postings from multiple ThreadStates when creating a segment...
Definition: FreqProxFieldMergeState.h:15
Lucene::FreqProxFieldMergeState::freq
ByteSliceReaderPtr freq
Definition: FreqProxFieldMergeState.h:32
Lucene::FreqProxFieldMergeState::postings
Collection< RawPostingListPtr > postings
Definition: FreqProxFieldMergeState.h:26
Lucene::FreqProxFieldMergeState::termFreq
int32_t termFreq
Definition: FreqProxFieldMergeState.h:36
Lucene::Collection< RawPostingListPtr >
Lucene::FreqProxFieldMergeState::textOffset
int32_t textOffset
Definition: FreqProxFieldMergeState.h:30

clucene.sourceforge.net