ClickHouse/src/Functions/multiFuzzyMatchAny.cpp

28 lines
546 B
C++
Raw Normal View History

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