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


Loading...
Searching...
No Matches
PrefixFilter.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 PREFIXFILTER_H
8#define PREFIXFILTER_H
9
11
12namespace Lucene {
13
16public:
17 PrefixFilter(const TermPtr& prefix);
18 virtual ~PrefixFilter();
19
21
22public:
24
25 virtual String toString();
26};
27
28}
29
30#endif
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
A wrapper for MultiTermQuery, that exposes its functionality as a Filter.
Definition MultiTermQueryWrapperFilter.h:22
A Filter that restricts search results to values that have a matching prefix in a given field.
Definition PrefixFilter.h:15
PrefixFilter(const TermPtr &prefix)
virtual String toString()
Returns a string representation of the object.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Term > TermPtr
Definition LuceneTypes.h:233

clucene.sourceforge.net