hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SphinxMessageConst.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  HCE
 < HCE::ServerApplication provides global variable 'HCE::database::Session' which initializes in function 'HCE::ServerApplication::initializeDataBaseSession()'
namespace  HCE::sphinx
namespace  HCE::sphinx::message_const

Enumerations

enum  {
  HCE::sphinx::message_const::LOAD_CONFIG_SUCCESS = 0, HCE::sphinx::message_const::HOST, HCE::sphinx::message_const::PORT, HCE::sphinx::message_const::INDEX,
  HCE::sphinx::message_const::FILE_NOT_FOUND, HCE::sphinx::message_const::FILE_NOT_OPEN, HCE::sphinx::message_const::SEARCHD_MAX_MATCHES, HCE::sphinx::message_const::SCHEMA_NAMES_SIZE,
  HCE::sphinx::message_const::ATTRIBUTES_COUNT, HCE::sphinx::message_const::EMPTY_LIST_OF_INDEX_FILES, HCE::sphinx::message_const::LOAD_CONFIG_FAIL, HCE::sphinx::message_const::EMPTY_RESULT_DATA,
  HCE::sphinx::message_const::INCORRECT_JSON_TYPE, HCE::sphinx::message_const::ERROR, HCE::sphinx::message_const::ERROR_MSG, HCE::sphinx::message_const::ERROR_CODE,
  HCE::sphinx::message_const::SERIALIZE_OUTPUT_JSON_MESSAGE, HCE::sphinx::message_const::GENERATE_DEFAULT_JSON, HCE::sphinx::message_const::TRY_MAKE_INDEX_COMMAND, HCE::sphinx::message_const::DOCUMENT_CONTENT_IS_EMPTY,
  HCE::sphinx::message_const::INDEX_NAME, HCE::sphinx::message_const::MAKE_INDEX_COMMAND_SUCCESS, HCE::sphinx::message_const::TRY_MAKE_ADMIN_COMMAND, HCE::sphinx::message_const::RECEIVED_EMPTY_COMMAND_STRING,
  HCE::sphinx::message_const::UNKNOWN_COMMAND, HCE::sphinx::message_const::MAKE_ADMIN_COMMAND_SUCCESS, HCE::sphinx::message_const::FAILED_TO_CREATE_CLIENT, HCE::sphinx::message_const::START_SEARCHD_READ_CONFIG,
  HCE::sphinx::message_const::WAIT_START_SEARCHD, HCE::sphinx::message_const::START_SEARCHD_FAIL, HCE::sphinx::message_const::TRY_EASY_START, HCE::sphinx::message_const::WAIT_STOP_SEARCHD,
  HCE::sphinx::message_const::STOP_SEARCHD, HCE::sphinx::message_const::INVALID_CLIENT_HANDLE, HCE::sphinx::message_const::INVALID_FILTER, HCE::sphinx::message_const::ADD_FILTER,
  HCE::sphinx::message_const::INVALID_RANGE_OF_FILTER, HCE::sphinx::message_const::UNKNOWN_FILTER_TYPE, HCE::sphinx::message_const::SERVER_HOST_IS_EMPTY, HCE::sphinx::message_const::SERVER_PORT_IS_NULL,
  HCE::sphinx::message_const::SET_SERVER_SUCCESS, HCE::sphinx::message_const::OPEN_CONNECTION_ERROR, HCE::sphinx::message_const::EASY_START_SUCCESS, HCE::sphinx::message_const::EASY_START_FALLEN,
  HCE::sphinx::message_const::FIELD_ALREADY_EXIST, HCE::sphinx::message_const::FIELD_NOT_FOUND, HCE::sphinx::message_const::INDEX_ALREADY_EXIST, HCE::sphinx::message_const::INDEX_NOT_FOUND,
  HCE::sphinx::message_const::INDEX_NOT_EXIST, HCE::sphinx::message_const::NOT_FOUND_IN_CONFIG, HCE::sphinx::message_const::LIST_OF_INDEXES_IS_EMPTY, HCE::sphinx::message_const::SEARCHD_ERROR,
  HCE::sphinx::message_const::SEARCHD_WARNING, HCE::sphinx::message_const::SEARCHD_STOPPED_PID_FILE_EXIST, HCE::sphinx::message_const::SEARCHD_STOPPED_BUT_PID_FILE_EXIST, HCE::sphinx::message_const::SEARCHD_NOT_ACTIVITY,
  HCE::sphinx::message_const::FIELD_NOT_FOUND_IN_CURRENT_SCHEMA, HCE::sphinx::message_const::GETTING_PARAMETERS_FAIL, HCE::sphinx::message_const::ERROR_CLEAN_DIR, HCE::sphinx::message_const::FOUND_INDEX_FILE,
  HCE::sphinx::message_const::REMOVE_INDEX_FILE, HCE::sphinx::message_const::REMOVE_FILE_FAIL, HCE::sphinx::message_const::OPEN_DIR_FAIL, HCE::sphinx::message_const::ERROR_GET_FILE_LIST,
  HCE::sphinx::message_const::ERROR_GET_INDEX_LIST, HCE::sphinx::message_const::EMPTY_DATA_DIR, HCE::sphinx::message_const::TRY_OPEN_FILE_FAIL, HCE::sphinx::message_const::TRY_USE_AS_DIRECTORY_WAS_CANCELED,
  HCE::sphinx::message_const::CLOSE_DIR_FAIL, HCE::sphinx::message_const::FOUND_FREE_ALLOWED_PORT, HCE::sphinx::message_const::ERROR_GET_FREE_ALLOWED_PORT, HCE::sphinx::message_const::ERROR_MAKE_CONFIG,
  HCE::sphinx::message_const::MAKE_DIR_FAIL, HCE::sphinx::message_const::DONT_CREATED_DIR, HCE::sphinx::message_const::FOLDER_NOT_EXIST, HCE::sphinx::message_const::FILE_NOT_EXIST,
  HCE::sphinx::message_const::INVALID_DATA_CONTENT, HCE::sphinx::message_const::INVALID_SCHEMA_CONTENT, HCE::sphinx::message_const::COMMAND_LINE, HCE::sphinx::message_const::INDEXATION_FAIL,
  HCE::sphinx::message_const::BAD_BRANCH_NAME, HCE::sphinx::message_const::MAKE_SOURCE_FAIL, HCE::sphinx::message_const::MAKE_SOURCE, HCE::sphinx::message_const::MAKE_INDEX,
  HCE::sphinx::message_const::RECEIVED_EMPTY_LIST_BRANCHES, HCE::sphinx::message_const::EMPTY_LIST_OF_FILES_DATA, HCE::sphinx::message_const::IS_RUN_SEARCHD, HCE::sphinx::message_const::STOPPED_SEARCHD,
  HCE::sphinx::message_const::INDEX_NOT_STARTED, HCE::sphinx::message_const::SECTION_NAME_NOT_VALID, HCE::sphinx::message_const::MERGE_BRANCHES_FAIL, HCE::sphinx::message_const::ERROR_MAKE_MERGE,
  HCE::sphinx::message_const::EMPTY_LIST_OF_EXISTING_INDEXES, HCE::sphinx::message_const::ERROR_MAKE_TRUNK_INDEX, HCE::sphinx::message_const::RECIEVED_EMPTY_INDEX_NAME, HCE::sphinx::message_const::RECIEVED_EMPTY_LIST_OF_BRANCHES,
  HCE::sphinx::message_const::CALL_REMOVE_INDEX_NAME, HCE::sphinx::message_const::EMPTY_INDEXES_LIST, HCE::sphinx::message_const::PREPARE_MERGE, HCE::sphinx::message_const::IS_MADE_TRUNK,
  HCE::sphinx::message_const::IS_ACTIVE_SEARCHD, HCE::sphinx::message_const::INDEX_FILE_NAME, HCE::sphinx::message_const::MOVE_FILE_FAIL, HCE::sphinx::message_const::MAKE_CONFIG_FAIL,
  HCE::sphinx::message_const::INDEX_MERGE_FAIL, HCE::sphinx::message_const::DATA_FILES_ALREADY_DELETED, HCE::sphinx::message_const::EMPTY_APPEND_DOCUMENT_LIST, HCE::sphinx::message_const::ERROR_PACK_DATA,
  HCE::sphinx::message_const::ERROR_GETTING_DOCUMENT_COUNT, HCE::sphinx::message_const::EMPTY_BRANCHES_LIST, HCE::sphinx::message_const::BAD_DOCUMENT_ID, HCE::sphinx::message_const::REMOVE_DIR_FAIL,
  HCE::sphinx::message_const::INDEX_COPY_FAIL, HCE::sphinx::message_const::GET_STATUS_SEARCHD_FAIL, HCE::sphinx::message_const::GET_INDEX_STATUS_FAIL, HCE::sphinx::message_const::SEARCH_MAX_DOCS_ID_FAIL,
  HCE::sphinx::message_const::LOAD_SOURCE_FILE_FAIL, HCE::sphinx::message_const::ERROR_MAKE_BRANCH_CONFIG, HCE::sphinx::message_const::CURRENT_INDEX_NAME_IS_EMPTY, HCE::sphinx::message_const::TARGET_CLIENTS_NOT_AVAILABLE,
  HCE::sphinx::message_const::NODE_NOT_SUPPORTED, HCE::sphinx::message_const::SERIALIZATION_OUTPUT_JSON_MESSAGE_ERROR
}

Variables

const char HCE::sphinx::message_const::delimiter = ':'
const char HCE::sphinx::message_const::space = ' '
const char HCE::sphinx::message_const::point = '.'
const std::string HCE::sphinx::message_const::loadConfigSuccess = "LOAD CONFIG SUCCESS"
const std::string HCE::sphinx::message_const::host = "HOST"
const std::string HCE::sphinx::message_const::port = "PORT"
const std::string HCE::sphinx::message_const::index = "INDEX"
const std::string HCE::sphinx::message_const::fileNotFound = "File not found"
const std::string HCE::sphinx::message_const::fileNotOpen = "File not open"
const std::string HCE::sphinx::message_const::searchdMaxMatches = "SEARCHD MAX MATCHES"
const std::string HCE::sphinx::message_const::schemaNamesSize = "SCHEMA NAMES SIZE"
const std::string HCE::sphinx::message_const::attributesCount = "ATTRIBUTES COUNT"
const std::string HCE::sphinx::message_const::emptyListOfindexFiles = "Empty list of index files"
const std::string HCE::sphinx::message_const::loadConfigFail = "LOAD CONFIG FAIL"
const std::string HCE::sphinx::message_const::emptyResultData = "Empty result data"
const std::string HCE::sphinx::message_const::incorrectJSONType = "Incorrect JSON type"
const std::string HCE::sphinx::message_const::errorMessage = "Error"
const std::string HCE::sphinx::message_const::errorMsg = "ErrorMsg"
const std::string HCE::sphinx::message_const::errorCode = "ErrorCode"
const std::string HCE::sphinx::message_const::serializeOutputJsonMessage = "Serialize OutputJsonMessage"
const std::string HCE::sphinx::message_const::generateDefaultJSON = "Generate default JSON"
const std::string HCE::sphinx::message_const::tryMakeIndexCommand = "TRY MAKE INDEX COMMAND"
const std::string HCE::sphinx::message_const::documentContentIsEmpty = "Document content is empty"
const std::string HCE::sphinx::message_const::indexName = "INDEX NAME"
const std::string HCE::sphinx::message_const::makeIndexCommandSuccess = "!!! MAKE INDEX COMMAND SUCCESS !!!"
const std::string HCE::sphinx::message_const::tryMakeAdminCommand = "TRY MAKE ADMIN COMMAND"
const std::string HCE::sphinx::message_const::receivedEmptyCommandString = "Received empty command string"
const std::string HCE::sphinx::message_const::unknownCommand = "Unknown command"
const std::string HCE::sphinx::message_const::makeAdminCommandSuccess = "!!! MAKE ADMIN COMMAND SUCCESS !!!"
const std::string HCE::sphinx::message_const::failedToCreateClient = "Failed to create client"
const std::string HCE::sphinx::message_const::startSearchdReadConfig = "startSearchd read config"
const std::string HCE::sphinx::message_const::waitStartSearchd = "!!! WAIT START SEARCHD !!!"
const std::string HCE::sphinx::message_const::startSearchdFail = "Start searchd fail"
const std::string HCE::sphinx::message_const::tryEasyStart = "TRY EASY START"
const std::string HCE::sphinx::message_const::waitStopSearchd = "!!! WAIT STOP SEARCHD !!!"
const std::string HCE::sphinx::message_const::stopSearchd = "STOP SEARCHD"
const std::string HCE::sphinx::message_const::invalidClientHandle = "Invalid client handle"
const std::string HCE::sphinx::message_const::invalidFilter = "Invalid filter"
const std::string HCE::sphinx::message_const::addFilter = "Add filter"
const std::string HCE::sphinx::message_const::invalidRangeOfFilter = "Invalid range of filter"
const std::string HCE::sphinx::message_const::unknownFilterType = "Unknown filter type"
const std::string HCE::sphinx::message_const::serverHostIsEmpty = "Server host is empty"
const std::string HCE::sphinx::message_const::serverPortIsNull = "Server port is null"
const std::string HCE::sphinx::message_const::setServerSuccess = "!!! SET SERVER SUCCESS !!!"
const std::string HCE::sphinx::message_const::openConnectionError = "Open connection error"
const std::string HCE::sphinx::message_const::easyStartSuccess = "!!! EASY START SUCCESS !!!"
const std::string HCE::sphinx::message_const::easyStartFallen = "!!! EASY START FALLEN !!!"
const std::string HCE::sphinx::message_const::fieldAlreadyExist = "Field already exist"
const std::string HCE::sphinx::message_const::fieldNotFound = "Field not found"
const std::string HCE::sphinx::message_const::indexAlreadyExist = "Index already exist"
const std::string HCE::sphinx::message_const::indexNotFound = "Index not found"
const std::string HCE::sphinx::message_const::indexNotExist = "Index not exist"
const std::string HCE::sphinx::message_const::notFoundInConfig = "NOT FOUND IN CONFIG"
const std::string HCE::sphinx::message_const::listOfIndexesIsEmpty = "List of indexes is empty, check initialization"
const std::string HCE::sphinx::message_const::searchdError = "SEARCHD ERROR"
const std::string HCE::sphinx::message_const::searchdWarning = "SEARCHD WARNING"
const std::string HCE::sphinx::message_const::searchdStoppedPidFileExist = "Searchd stopped. Pid file exist = "
const std::string HCE::sphinx::message_const::searchdStoppedButPidFileExist = "Searchd stoped but pid file exist"
const std::string HCE::sphinx::message_const::searchdNotActivity = "Searchd not activity"
const std::string HCE::sphinx::message_const::fieldNotFoundInCurrentSchema = "Field not found in current schema"
const std::string HCE::sphinx::message_const::gettingParametersFail = "Getting parameters fail"
const std::string HCE::sphinx::message_const::errorCleanDir = "ERROR CLEAN DIR"
const std::string HCE::sphinx::message_const::foundIndexFile = "FOUND INDEX FILE"
const std::string HCE::sphinx::message_const::removeIndexFile = "REMOVE INDEX FILE"
const std::string HCE::sphinx::message_const::removeFileFail = "Remove file fail"
const std::string HCE::sphinx::message_const::openDirFail = "Open dir fail"
const std::string HCE::sphinx::message_const::errorGetFileList = "ERROR GET FILE LIST"
const std::string HCE::sphinx::message_const::errorGetIndexList = "ERROR GET INDEX LIST"
const std::string HCE::sphinx::message_const::emptyDataDir = "Empty data dir"
const std::string HCE::sphinx::message_const::tryOpenFileFail = "Try open file fail"
const std::string HCE::sphinx::message_const::tryUseAsDirectoryWasCanceled = "Try use as directory was canceled..."
const std::string HCE::sphinx::message_const::closeDirFail = "Close dir fail"
const std::string HCE::sphinx::message_const::foundFreeAllowedPort = "FOUND FREE ALLOWED PORT"
const std::string HCE::sphinx::message_const::errorGetFreeAllowedPort = "ERROR GET FREE ALLOWED PORT"
const std::string HCE::sphinx::message_const::errorMakeConfig = "ERROR MAKE CONFIG"
const std::string HCE::sphinx::message_const::makeDirFail = "Make dir fail"
const std::string HCE::sphinx::message_const::dontCreatedDir = "Don't created directory"
const std::string HCE::sphinx::message_const::folderNotExist = "Forder not exist"
const std::string HCE::sphinx::message_const::fileNotExist = "File not exist"
const std::string HCE::sphinx::message_const::invalidDataContent = "Invalid data content"
const std::string HCE::sphinx::message_const::invalidSchemaContent = "Invalid schema content"
const std::string HCE::sphinx::message_const::commandLine = "COMMAND LINE"
const std::string HCE::sphinx::message_const::indexationFail = "Indexation fail"
const std::string HCE::sphinx::message_const::badBranchName = "Bad branch name"
const std::string HCE::sphinx::message_const::makeSourceFail = "Make source fail"
const std::string HCE::sphinx::message_const::makeSource = "MAKE SOURCE"
const std::string HCE::sphinx::message_const::makeIndex = "MAKE INDEX"
const std::string HCE::sphinx::message_const::receivedEmptyListOfBranches = "Received empty list of branches"
const std::string HCE::sphinx::message_const::emptyListOfFilesData = "Empty list of files data"
const std::string HCE::sphinx::message_const::isRunSearchd = "isRunSearchd => "
const std::string HCE::sphinx::message_const::stoppedSearchd = "STOPPED SEARCHD => "
const std::string HCE::sphinx::message_const::indexNotStarted = "Index not started"
const std::string HCE::sphinx::message_const::sectionNameNotValid = "Section name not valid"
const std::string HCE::sphinx::message_const::mergeBranchesFail = "Merge branches fail"
const std::string HCE::sphinx::message_const::errorMakeMerge = "ERROR MAKE MERGE"
const std::string HCE::sphinx::message_const::emptyListOfExistingIndexes = "Empty list of existing indexes"
const std::string HCE::sphinx::message_const::errorMakeTrunkIndex = "ERROR MAKE TRUNK INDEX"
const std::string HCE::sphinx::message_const::receivedEmptyIndexName = "Received empty index name"
const std::string HCE::sphinx::message_const::callRemoveIndexFile = "Call removeIndexFile"
const std::string HCE::sphinx::message_const::emptyIndexesList = "Empty indexes list"
const std::string HCE::sphinx::message_const::prepareMerge = "Prepare merge. Make"
const std::string HCE::sphinx::message_const::isMadeTrunk = "isMadeTrunk => "
const std::string HCE::sphinx::message_const::isActiveSearchd = "IS ACTIVE SEARCHD => "
const std::string HCE::sphinx::message_const::indexFileName = "Index file name"
const std::string HCE::sphinx::message_const::moveFileFail = "Move file fail"
const std::string HCE::sphinx::message_const::makeConfigFail = "Make config fail"
const std::string HCE::sphinx::message_const::indexMergeFail = "Index merge fail"
const std::string HCE::sphinx::message_const::dataFilesAlreadyDeleted = "Data files already deleted"
const std::string HCE::sphinx::message_const::emptyAppendDocumentList = "Empty append document list"
const std::string HCE::sphinx::message_const::errorPackData = "ERROR PACK DATA"
const std::string HCE::sphinx::message_const::errorGettingDocumentCount = "ERROR GETTING DOCUMENT COUNT"
const std::string HCE::sphinx::message_const::emptyBranchesList = "Empty branches list"
const std::string HCE::sphinx::message_const::badDocumentId = "Bad document ID"
const std::string HCE::sphinx::message_const::removeDirFail = "Remove dir fail"
const std::string HCE::sphinx::message_const::indexCopyFail = "Index copy fail"
const std::string HCE::sphinx::message_const::getStatusSearchdFail = "Get status searchd fail"
const std::string HCE::sphinx::message_const::getIndexStatusFail = "Get index status fail"
const std::string HCE::sphinx::message_const::searchMsxDocsIDFail = "Search MaxDocsID fail"
const std::string HCE::sphinx::message_const::loadSourceFileFail = "Load source file fail"
const std::string HCE::sphinx::message_const::errorMakeBranchConfig = "ERROR MAKE BRANCH CONFIG"
const std::string HCE::sphinx::message_const::currentIndexNameIsEmpty = "Current index name is empty"
const std::string HCE::sphinx::message_const::attribute = "Attribute"
const std::string HCE::sphinx::message_const::haveInvalidArgument = "have invalid argument"
const std::string HCE::sphinx::message_const::badXmlSource = "Bad xml source"
const std::string HCE::sphinx::message_const::valueIsEmpty = "value is empty"
const std::string HCE::sphinx::message_const::cannotBeConvertToUnsignedLongLong = "cannot be convert to unsigned long long"
const std::string HCE::sphinx::message_const::haveEmptyAttributeList = "have empty attribute list"
const std::string HCE::sphinx::message_const::targetClientsNotAvailable = "No target node clients available"
const std::string HCE::sphinx::message_const::nodeNotSupported = "Node mode not supported"
const std::string HCE::sphinx::message_const::nodeHasNotEnoughResources = "Chosen node has not enough resources for usage"
const std::string HCE::sphinx::message_const::serializationOutputJsonMessageError = "Serialization error of output json message"
const std::vector< std::pair
< unsigned int, std::string > > 
HCE::sphinx::message_const::messages

Detailed Description

Implementation list custom messages a Sphinx functional object in HCE cluster node.

Author
Alexander Vybornyh alexa.nosp@m.nder.nosp@m..hce..nosp@m.clus.nosp@m.ter@g.nosp@m.mail.nosp@m..com Copyright © 2013 IOIX Ukraine http://hierarchical-cluster-engine.com/license/

Definition in file SphinxMessageConst.hpp.