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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FieldScoreQuery.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 FIELDSCOREQUERY_H
8 #define FIELDSCOREQUERY_H
9 
10 #include "ValueSourceQuery.h"
11 
12 namespace Lucene
13 {
43  class LPPAPI FieldScoreQuery : public ValueSourceQuery
44  {
45  public:
47  enum Type
48  {
51 
53  INT,
54 
56  DOUBLE
57  };
58 
63  FieldScoreQuery(const String& field, Type type);
64 
65  virtual ~FieldScoreQuery();
66 
68 
69  public:
71  static ValueSourcePtr getValueSource(const String& field, Type type);
72  };
73 }
74 
75 #endif

clucene.sourceforge.net