hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
SphinxResultSorterIf.hpp
Go to the documentation of this file.
1
15
#ifndef SPHINXRESULTSORTERIF_HPP_
16
#define SPHINXRESULTSORTERIF_HPP_
17
18
#include "
SphinxResultData.hpp
"
19
#include <Poco/SharedPtr.h>
20
#include <string>
21
22
namespace
HCE
23
{
24
namespace
sphinx
25
{
26
namespace
reduce_task
27
{
28
29
const
unsigned
int
NULL_SORT
= 0;
30
const
unsigned
int
ASC_SORT
= 1;
31
const
unsigned
int
DESC_SORT
= 2;
32
33
34
class
SphinxResultSorterIf
{
35
public
:
36
virtual
~SphinxResultSorterIf
(){}
37
38
virtual
void
sortByWeight
(
39
std::vector<std::pair<std::string, unsigned long long> > &weightDocIds) = 0;
40
};
41
42
}
43
}
44
}
45
46
#endif
sources
utils
reduceSphinx
src
SphinxResultSorterIf.hpp
Generated on Tue Jun 30 2015 19:42:15 for hce-node application by
1.8.1.2