OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
QuerySlices.cpp File Reference
#include <cassert>
#include <sstream>
#include <set>
#include <opentrep/basic/BasConst_General.hpp>
#include <opentrep/basic/Utilities.hpp>
#include <opentrep/bom/Levenshtein.hpp>
#include <opentrep/bom/Filter.hpp>
#include <opentrep/bom/QuerySlices.hpp>
#include <opentrep/service/Logger.hpp>

Go to the source code of this file.

Namespaces

 OPENTREP
 

Functions

static unsigned int OPENTREP::calculateEditDistance (const TravelQuery_T &iPhrase)
 Helper function. More...
 
bool OPENTREP::doesMatch (const Xapian::Database &iDatabase, const std::string &iWord1, const std::string &iWord2)
 Helper function to query for a Xapian-based full text match. More...