Lucene++ - a full-featured, c++ search engine
API Documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
FreqProxFieldMergeState.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2011 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
{
17
public
:
18
FreqProxFieldMergeState
(
FreqProxTermsWriterPerFieldPtr
field
);
19
virtual
~FreqProxFieldMergeState
();
20
21
LUCENE_CLASS
(
FreqProxFieldMergeState
);
22
23
public
:
24
FreqProxTermsWriterPerFieldPtr
field
;
25
int32_t
numPostings
;
26
CharBlockPoolPtr
charPool
;
27
Collection<RawPostingListPtr>
postings
;
28
29
FreqProxTermsWriterPostingListPtr
p
;
30
CharArray
text
;
31
int32_t
textOffset
;
32
33
ByteSliceReaderPtr
freq
;
34
ByteSliceReaderPtr
prox
;
35
36
int32_t
docID
;
37
int32_t
termFreq
;
38
39
protected
:
40
int32_t
postingUpto
;
41
42
public
:
43
bool
nextTerm
();
44
bool
nextDoc
();
45
};
46
}
47
48
#endif
clucene.sourceforge.net