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


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
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::LuceneObject
Base class for all Lucene classes.
Definition: LuceneObject.h:31
Lucene::TermVectorEntryFreqSortedComparator::~TermVectorEntryFreqSortedComparator
virtual ~TermVectorEntryFreqSortedComparator()
Lucene::TermVectorEntryFreqSortedComparator
Compares TermVectorEntrys first by frequency and then by the term (case-sensitive)
Definition: TermVectorEntryFreqSortedComparator.h:15
Lucene::TermVectorEntryFreqSortedComparator::compare
static bool compare(const TermVectorEntryPtr &first, const TermVectorEntryPtr &second)
Lucene::TermVectorEntryPtr
boost::shared_ptr< TermVectorEntry > TermVectorEntryPtr
Definition: LuceneTypes.h:252
LuceneObject.h

clucene.sourceforge.net