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