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
SphinxIndexer.hpp
Go to the documentation of this file.
1
14
#ifndef SPHINX_INDEXER_HPP
15
#define SPHINX_INDEXER_HPP
16
17
#include <Poco/Exception.h>
18
#include "
SphinxSearchInterface.hpp
"
19
#include "
CustomMessage.hpp
"
20
21
namespace
HCE
22
{
23
namespace
sphinx
24
{
25
class
SphinxFunctionalObject;
26
//-----------------------------------------------------------------------------
27
class
SphinxIndexer
:
public
SphinxSearchInterface
28
{
29
public
:
30
explicit
SphinxIndexer
(
SphinxFunctionalObject
&
fObj
);
31
virtual
~SphinxIndexer
(
void
) {};
32
33
std::string
Process
(
const
std::string& json);
// make search (black box)
34
SphinxOutputJsonMessage
Process
(
SphinxInputJsonMessage
& inputJsonMessage);
35
36
protected
:
37
void
makeIndexCommand
(
const
std::string& json)
throw
(Poco::Exception);
38
void
makeAdminCommand
(
const
std::string& json, std::string& resultData)
throw
(Poco::Exception);
39
40
SphinxFunctionalObject
&
fObj
;
41
CustomMessage
&
message
;
42
43
typedef
SphinxSearchInterface
inherited
;
44
friend
class
SphinxFunctionalObject
;
45
};
46
//-----------------------------------------------------------------------------
47
//-----------------------------------------------------------------------------
48
}
// end namespace sphinx
49
}
// end namespace HCE
50
51
#endif // SPHINX_INDEXER_HPP
sources
utils
sphinx
src
SphinxIndexer.hpp
Generated on Tue Jun 30 2015 19:42:17 for hce-node application by
1.8.1.2