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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ScoreDoc.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 SCOREDOC_H
8 #define SCOREDOC_H
9 
10 #include "LuceneObject.h"
11 
12 namespace Lucene
13 {
16  class LPPAPI ScoreDoc : public LuceneObject
17  {
18  public:
19  ScoreDoc(int32_t doc, double score);
20  virtual ~ScoreDoc();
21 
23 
24  public:
26  double score;
27 
30  int32_t doc;
31 
32  public:
33  virtual String toString();
34  };
35 }
36 
37 #endif

clucene.sourceforge.net