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

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MatchAllDocsQuery.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 MATCHALLDOCSQUERY_H
8 #define MATCHALLDOCSQUERY_H
9
10 #include "Query.h"
11
12 namespace Lucene
13 {
15 class LPPAPI MatchAllDocsQuery : public Query
16 {
17 public:
19 MatchAllDocsQuery(const String& normsField = EmptyString);
20
21 virtual ~MatchAllDocsQuery();
22
23 LUCENE_CLASS(MatchAllDocsQuery);
24
25 protected:
26 String normsField;
27
28 public:
29 using Query::toString;
30
31 virtual WeightPtr createWeight(SearcherPtr searcher);
32 virtual void extractTerms(SetTerm terms);
33 virtual String toString(const String& field);
34 virtual bool equals(LuceneObjectPtr other);
35 virtual int32_t hashCode();
36 virtual LuceneObjectPtr clone(LuceneObjectPtr other = LuceneObjectPtr());
37
38 friend class MatchAllDocsWeight;
39 };
40 }
41
42 #endif

clucene.sourceforge.net