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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ConjunctionScorer.h
Go to the documentation of this file.
1 
2 // 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 CONJUNCTIONSCORER_H
8 #define CONJUNCTIONSCORER_H
9 
10 #include "Scorer.h"
11 
12 namespace Lucene {
13 
15 class ConjunctionScorer : public Scorer {
16 public:
18  virtual ~ConjunctionScorer();
19 
21 
22 protected:
24  double coord;
25  int32_t lastDoc;
26 
27 public:
28  virtual int32_t advance(int32_t target);
29  virtual int32_t docID();
30  virtual int32_t nextDoc();
31  virtual double score();
32 
33 protected:
34  int32_t doNext();
35 };
36 
37 }
38 
39 #endif

clucene.sourceforge.net