ClickHouse/src/Functions/multiFuzzyMatchAny.cpp
2020-09-07 21:00:37 +03:00

29 lines
550 B
C++

#include "FunctionsMultiStringFuzzySearch.h"
#include "FunctionFactory.h"
#include "MultiMatchAnyImpl.h"
namespace DB
{
namespace
{
struct NameMultiFuzzyMatchAny
{
static constexpr auto name = "multiFuzzyMatchAny";
};
using FunctionMultiFuzzyMatchAny = FunctionsMultiStringFuzzySearch<
MultiMatchAnyImpl<UInt8, true, false, true>,
NameMultiFuzzyMatchAny,
std::numeric_limits<UInt32>::max()>;
}
void registerFunctionMultiFuzzyMatchAny(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiFuzzyMatchAny>();
}
}