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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TermVectorEntryFreqSortedComparator.h
Go to the documentation of this file.
1 // 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 
12 namespace Lucene {
13 
16 public:
18 
20 
21 public:
22  static bool compare(const TermVectorEntryPtr& first, const TermVectorEntryPtr& second);
23 };
24 
25 }
26 
27 #endif
Compares TermVectorEntrys first by frequency and then by the term (case-sensitive) ...
Definition: TermVectorEntryFreqSortedComparator.h:15
Base class for all Lucene classes.
Definition: LuceneObject.h:31
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12
boost::shared_ptr< TermVectorEntry > TermVectorEntryPtr
Definition: LuceneTypes.h:252

clucene.sourceforge.net