HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::sphinx Namespace Reference

Namespaces

namespace  input_json_message_const
namespace  message_const
namespace  output_json_message_const
namespace  reduce_task
namespace  search_result_json_const
namespace  sphinx_admin_command_const
namespace  sphinx_data_source_const
namespace  sphinx_search_const

Classes

class  SphinxAdminCommand
class  SphinxAdminCommandFactory
class  IndexCreate
class  IndexCheck
class  IndexStoreDataFile
class  IndexStoreSchemaFile
class  IndexRebuild
class  IndexSetDataDir
class  IndexStart
class  IndexStop
class  IndexMerge
class  IndexMergeTrunk
class  IndexDeleteDataFile
class  IndexDeleteSchemaFile
class  IndexAppendDataFile
class  IndexDeleteDoc
class  IndexDeleteDocNumber
class  IndexPackDocData
class  IndexRemove
class  IndexCopy
class  IndexRename
class  IndexSetConfigVar
class  IndexGetConfigVar
class  IndexCheckSchema
class  IndexStatusSearchd
class  IndexStatus
class  IndexMaxDocId
class  IndexDataList
class  IndexBranchesList
class  IndexBranchesInfo
class  IndexBranchesStatus
class  IndexConnect
class  IndexDisconnect
class  SphinxConfigCreator
class  SphinxConfigOptions
class  SphinxDataFile
class  SphinxDataSource
class  SphinxDataSourceParameters
class  SphinxFilter
class  SphinxFiltersArray
class  SphinxFunctionalObject
class  SphinxIndexer
class  SphinxInputJsonMessage
class  SphinxInputJsonMessageIndex
class  SphinxInputJsonMessageManage
class  SphinxInputJsonMessageSearch
struct  AttrInfo
class  SphinxMatchInfo
class  SphinxNodeOptions
class  SphinxOutputJsonMessage
struct  WordInfo
class  SphinxRequestInfo
struct  HexString
class  SphinxResultData
class  SphinxResultDataItem
class  SphinxResultDataMemoryManager
class  SphinxWeightPacker
class  SphinxResultDataSerializator
class  SphinxDefaultJSON
class  SphinxSchemaFile
class  SphinxSearcher
class  SphinxSearchInterface
class  CalculateStrategy
class  CalculateStrategyFactory
class  SphinxWeightCalculator
class  CalculateStrategyDefault
class  CalculateStrategyUseFieldNames

Enumerations

enum  {
  NO_ERROR = 0, PARSE_ERROR = 1, COMMAND_ERROR = 2, ERROR_FUNCTIONAL_OBJECT = 3,
  ERROR_LOAD_CONFIG = 4, ERROR_MAKE_DEFAULT_JSON = 5, ERROR_SEARCH_REQUEST = 1000, ERROR_NOT_ACTIVITY_SEARCHD = 1001,
  ERROR_SEARCHD_STOPED_PID_FILE_EXISTS = 1002, ERROR_SET_MATCH_MODE = 1011, ERROR_SET_SORT_MODE = 1012, ERROR_SET_RANKING_MODE = 1013,
  ERROR_SET_SERVER = 1014, ERROR_SET_LIMITS = 1015, ERROR_ADD_FILTER = 1016, ERROR_SET_QUERY_TIME = 1017,
  ERROR_OPEN_CONNECTION = 1021, ERROR_CLOSE_CONNECTION = 1022, ERROR_START_SEARCHD = 1031, ERROR_STOP_SEARCHD = 1032,
  ERROR_INDEXATION_REQUEST = 2000, ERROR_ADMIN_REQUEST = 3000, ERROR_COMMAND_INITIALIZATION = 3001, ERROR_SERIALIZE = 3011,
  ERROR_UNSERIALIZE = 3012, ERROR_COPY_FILE = 3021, ERROR_MOVE_FILE = 3022, ERROR_REMOVE_FILE = 3023,
  ERROR_BRANCH_NAME = 3024, ERROR_MAKE_DIR = 3025, ERROR_CLEAN_DIR = 3026, ERROR_GET_FILE_LIST = 3027,
  ERROR_GET_INDEX_LIST = 3028, ERROR_GET_FREE_ALLOWED_PORT = 3029, ERROR_MAKE_SOURCE = 3031, ERROR_MAKE_INDEX = 3032,
  ERROR_MAKE_MERGE = 3033, ERROR_MAKE_TRUNK_INDEX = 3034, ERROR_DELETE_TRUNK_INDEX = 3035, ERROR_MOVE_INDEX = 3036,
  ERROR_CREATE_INDEX = 3101, ERROR_CHECK_INDEX = 3102, ERROR_STORE_DATA_FILE = 3103, ERROR_STORE_SCHEMA_FILE = 3104,
  ERROR_INDEX_REBUILD = 3105, ERROR_INDEX_START = 3106, ERROR_INDEX_STOP = 3107, ERROR_INDEX_MERGE = 3108,
  ERROR_INDEX_MERGE_TRUNK = 3109, ERROR_INDEX_DELETE_DATA_FILE = 3110, ERROR_INDEX_DELETE_SCHEMA_FILE = 3111, ERROR_INDEX_APPEND_DATA_FILE = 3112,
  ERROR_INDEX_DELETE_DOC = 3113, ERROR_INDEX_DELETE_DOC_NUMBER = 3114, ERROR_INDEX_PACK_DOC_DATA = 3115, ERROR_INDEX_REMOVE = 3116,
  ERROR_INDEX_COPY = 3117, ERROR_INDEX_RENAME = 3118, ERROR_SET_CONFIG_VAR = 3119, ERROR_GET_CONFIG_VAR = 3120,
  ERROR_INDEX_CHECK_SCHEMA = 3121, ERROR_INDEX_SEARCHD_STATUS = 3122, ERROR_INDEX_STATUS = 3123, ERROR_INDEX_MAX_DOC_ID = 3124,
  ERROR_INDEX_DATA_LIST = 3125, ERROR_INDEX_BRANCHES_LIST = 3126, ERROR_INDEX_BRANCHES_INFO = 3127, ERROR_INDEX_BRANCHES_STATUS = 3128,
  ERROR_INDEX_CONNECT = 3129, ERROR_INDEX_DISCONNECT = 3130
}
enum  { HEX_STRING_LENGTH = 20 }
enum  {
  NO_FILL = 0, FILL_MATCH_INFO = 1, FILL_REQUEST_INFO = 2, FILL_ATTRIBUTES = 4,
  FILL_WORD_INFO = 8
}

Functions

std::ostream & operator<< (std::ostream &os, const SphinxDataFile &dataFile)
std::ostream & operator<< (std::ostream &os, const SphinxDataSource &dataSource) throw (Poco::Exception)
std::ostream & operator<< (std::ostream &os, const SphinxFilter &filter)
std::ostream & operator<< (std::ostream &os, const SphinxFiltersArray &filtersArray)
std::istream & operator>> (std::istream &is, SphinxInputJsonMessage &jsonHandler)
std::ostream & operator<< (std::ostream &os, const SphinxInputJsonMessage &jsonHandler)
std::istream & operator>> (std::istream &is, SphinxInputJsonMessageIndex &messageIndex)
std::ostream & operator<< (std::ostream &os, const SphinxInputJsonMessageIndex &messageIndex)
std::istream & operator>> (std::istream &is, SphinxInputJsonMessageManage &messageManage)
std::ostream & operator<< (std::ostream &os, const SphinxInputJsonMessageManage &messageManage)
std::istream & operator>> (std::istream &is, SphinxInputJsonMessageSearch &messageSearch)
std::ostream & operator<< (std::ostream &os, const SphinxInputJsonMessageSearch &messageSearch)
std::istream & operator>> (std::istream &is, SphinxOutputJsonMessage &jsonHandler)
std::ostream & operator<< (std::ostream &os, const SphinxOutputJsonMessage &jsonHandler)
std::ostream & operator<< (std::ostream &os, const HexString &rhs)
std::string toHexString (unsigned long long value, unsigned long long length)
std::ostream & operator<< (std::ostream &os, const SphinxResultData &resultData)
std::ostream & operator<< (std::ostream &os, const SphinxDefaultJSON &defaultJson)

Enumeration Type Documentation

anonymous enum
Enumerator:
NO_ERROR 
PARSE_ERROR 
COMMAND_ERROR 
ERROR_FUNCTIONAL_OBJECT 
ERROR_LOAD_CONFIG 
ERROR_MAKE_DEFAULT_JSON 
ERROR_SEARCH_REQUEST 
ERROR_NOT_ACTIVITY_SEARCHD 
ERROR_SEARCHD_STOPED_PID_FILE_EXISTS 
ERROR_SET_MATCH_MODE 
ERROR_SET_SORT_MODE 
ERROR_SET_RANKING_MODE 
ERROR_SET_SERVER 
ERROR_SET_LIMITS 
ERROR_ADD_FILTER 
ERROR_SET_QUERY_TIME 
ERROR_OPEN_CONNECTION 
ERROR_CLOSE_CONNECTION 
ERROR_START_SEARCHD 
ERROR_STOP_SEARCHD 
ERROR_INDEXATION_REQUEST 
ERROR_ADMIN_REQUEST 
ERROR_COMMAND_INITIALIZATION 
ERROR_SERIALIZE 
ERROR_UNSERIALIZE 
ERROR_COPY_FILE 
ERROR_MOVE_FILE 
ERROR_REMOVE_FILE 
ERROR_BRANCH_NAME 
ERROR_MAKE_DIR 
ERROR_CLEAN_DIR 
ERROR_GET_FILE_LIST 
ERROR_GET_INDEX_LIST 
ERROR_GET_FREE_ALLOWED_PORT 
ERROR_MAKE_SOURCE 
ERROR_MAKE_INDEX 
ERROR_MAKE_MERGE 
ERROR_MAKE_TRUNK_INDEX 
ERROR_DELETE_TRUNK_INDEX 
ERROR_MOVE_INDEX 
ERROR_CREATE_INDEX 
ERROR_CHECK_INDEX 
ERROR_STORE_DATA_FILE 
ERROR_STORE_SCHEMA_FILE 
ERROR_INDEX_REBUILD 
ERROR_INDEX_START 
ERROR_INDEX_STOP 
ERROR_INDEX_MERGE 
ERROR_INDEX_MERGE_TRUNK 
ERROR_INDEX_DELETE_DATA_FILE 
ERROR_INDEX_DELETE_SCHEMA_FILE 
ERROR_INDEX_APPEND_DATA_FILE 
ERROR_INDEX_DELETE_DOC 
ERROR_INDEX_DELETE_DOC_NUMBER 
ERROR_INDEX_PACK_DOC_DATA 
ERROR_INDEX_REMOVE 
ERROR_INDEX_COPY 
ERROR_INDEX_RENAME 
ERROR_SET_CONFIG_VAR 
ERROR_GET_CONFIG_VAR 
ERROR_INDEX_CHECK_SCHEMA 
ERROR_INDEX_SEARCHD_STATUS 
ERROR_INDEX_STATUS 
ERROR_INDEX_MAX_DOC_ID 
ERROR_INDEX_DATA_LIST 
ERROR_INDEX_BRANCHES_LIST 
ERROR_INDEX_BRANCHES_INFO 
ERROR_INDEX_BRANCHES_STATUS 
ERROR_INDEX_CONNECT 
ERROR_INDEX_DISCONNECT 

Definition at line 22 of file SphinxError.hpp.

anonymous enum
Enumerator:
HEX_STRING_LENGTH 

Definition at line 31 of file SphinxResultData.hpp.

anonymous enum
Enumerator:
NO_FILL 
FILL_MATCH_INFO 
FILL_REQUEST_INFO 
FILL_ATTRIBUTES 
FILL_WORD_INFO 

Definition at line 75 of file SphinxResultDataSerializator.hpp.

Function Documentation

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const HexString &  rhs 
)

Definition at line 12 of file SphinxResultData.cpp.

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxFilter &  filter 
)

Definition at line 28 of file SphinxFilters.cpp.

Here is the call graph for this function:

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxDataFile &  dataFile 
)

Definition at line 74 of file SphinxDataFile.cpp.

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxInputJsonMessageManage &  messageManage 
)

Definition at line 86 of file SphinxInputJsonMessageManage.cpp.

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxInputJsonMessage &  jsonHandler 
)

Definition at line 118 of file SphinxInputJsonMessage.cpp.

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxOutputJsonMessage &  jsonHandler 
)

Definition at line 129 of file SphinxOutputJsonMessage.cpp.

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxInputJsonMessageIndex &  messageIndex 
)

Definition at line 131 of file SphinxInputJsonMessageIndex.cpp.

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxDataSource &  dataSource 
) throw (Poco::Exception)

Definition at line 151 of file SphinxDataSource.cpp.

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxFiltersArray &  filtersArray 
)

Definition at line 196 of file SphinxFilters.cpp.

Here is the call graph for this function:

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxResultData &  resultData 
)

Definition at line 213 of file SphinxResultData.cpp.

Here is the call graph for this function:

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxInputJsonMessageSearch &  messageSearch 
)

Definition at line 273 of file SphinxInputJsonMessageSearch.cpp.

std::ostream& HCE::sphinx::operator<< ( std::ostream &  os,
const SphinxDefaultJSON &  defaultJson 
)

Definition at line 431 of file SphinxResultDataSerializator.cpp.

Here is the call graph for this function:

std::istream& HCE::sphinx::operator>> ( std::istream &  is,
SphinxInputJsonMessageManage &  messageManage 
)

Definition at line 78 of file SphinxInputJsonMessageManage.cpp.

Here is the call graph for this function:

std::istream& HCE::sphinx::operator>> ( std::istream &  is,
SphinxInputJsonMessage &  jsonHandler 
)

Definition at line 107 of file SphinxInputJsonMessage.cpp.

Here is the call graph for this function:

std::istream& HCE::sphinx::operator>> ( std::istream &  is,
SphinxOutputJsonMessage &  jsonHandler 
)

Definition at line 118 of file SphinxOutputJsonMessage.cpp.

Here is the call graph for this function:

std::istream& HCE::sphinx::operator>> ( std::istream &  is,
SphinxInputJsonMessageIndex &  messageIndex 
)

Definition at line 120 of file SphinxInputJsonMessageIndex.cpp.

Here is the call graph for this function:

std::istream& HCE::sphinx::operator>> ( std::istream &  is,
SphinxInputJsonMessageSearch &  messageSearch 
)

Definition at line 262 of file SphinxInputJsonMessageSearch.cpp.

Here is the call graph for this function:

std::string HCE::sphinx::toHexString ( unsigned long long  value,
unsigned long long  length 
)

Definition at line 17 of file SphinxResultData.cpp.

Here is the caller graph for this function: