OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
QuerySlices.cpp File Reference
#include <cassert>
#include <sstream>
#include <set>
#include <opentrep/basic/BasConst_General.hpp>
#include <opentrep/basic/Utilities.hpp>
#include <opentrep/basic/OTransliterator.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

namespace  OPENTREP
 

Functions

static unsigned int OPENTREP::calculateEditDistance (const TravelQuery_T &iPhrase)
 Helper function.
 
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.