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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SpanQuery.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 SPANQUERY_H
8 #define SPANQUERY_H
9 
10 #include "Query.h"
11 
12 namespace Lucene {
13 
15 class LPPAPI SpanQuery : public Query {
16 public:
17  virtual ~SpanQuery();
19 
20 public:
22  virtual SpansPtr getSpans(const IndexReaderPtr& reader) = 0;
23 
25  virtual String getField() = 0;
26 
27  virtual WeightPtr createWeight(const SearcherPtr& searcher);
28 };
29 
30 }
31 
32 #endif

clucene.sourceforge.net