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


ComplexExplanation.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 COMPLEXEXPLANATION_H
8 #define COMPLEXEXPLANATION_H
9 
10 #include "Explanation.h"
11 
12 namespace Lucene {
13 
16 class LPPAPI ComplexExplanation : public Explanation {
17 public:
18  ComplexExplanation(bool match = false, double value = 0, const String& description = EmptyString);
19  virtual ~ComplexExplanation();
20 
22 
23 protected:
24  bool match;
25 
26 public:
28  bool getMatch();
29 
31  void setMatch(bool match);
32 
39  virtual bool isMatch();
40 
41 protected:
42  virtual String getSummary();
43 };
44 
45 }
46 
47 #endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Explanation.h
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::Explanation
Describes the score computation for document and query.
Definition: Explanation.h:15
Lucene::ComplexExplanation
Describes the score computation for document and query, and can distinguish a match independent of a ...
Definition: ComplexExplanation.h:16

clucene.sourceforge.net