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


TermVectorEntryFreqSortedComparator.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 TERMVECTORENTRYFREQSORTEDCOMPARATOR_H
8#define TERMVECTORENTRYFREQSORTEDCOMPARATOR_H
9
10#include "LuceneObject.h"
11
12namespace Lucene {
13
16public:
18
20
21public:
22 static bool compare(const TermVectorEntryPtr& first, const TermVectorEntryPtr& second);
23};
24
25}
26
27#endif
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Compares TermVectorEntrys first by frequency and then by the term (case-sensitive)
Definition: TermVectorEntryFreqSortedComparator.h:15
static bool compare(const TermVectorEntryPtr &first, const TermVectorEntryPtr &second)
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< TermVectorEntry > TermVectorEntryPtr
Definition: LuceneTypes.h:252

clucene.sourceforge.net