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 // 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 CONJUNCTIONSCORER_H
8 #define CONJUNCTIONSCORER_H
9 
10 #include "Scorer.h"
11 
12 namespace Lucene
13 {
15  class ConjunctionScorer : public Scorer
16  {
17  public:
19  virtual ~ConjunctionScorer();
20 
22 
23  protected:
25  double coord;
26  int32_t lastDoc;
27 
28  public:
29  virtual int32_t advance(int32_t target);
30  virtual int32_t docID();
31  virtual int32_t nextDoc();
32  virtual double score();
33 
34  protected:
35  int32_t doNext();
36  };
37 }
38 
39 #endif

clucene.sourceforge.net