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

29 lines
581 B
C++

#include "FunctionsMultiStringFuzzySearch.h"
#include "FunctionFactory.h"
#include "MultiMatchAnyImpl.h"
namespace DB
{
namespace
{
struct NameMultiFuzzyMatchAnyIndex
{
static constexpr auto name = "multiFuzzyMatchAnyIndex";
};
using FunctionMultiFuzzyMatchAnyIndex = FunctionsMultiStringFuzzySearch<
MultiMatchAnyImpl<UInt64, false, true, true>,
NameMultiFuzzyMatchAnyIndex,
std::numeric_limits<UInt32>::max()>;
}
void registerFunctionMultiFuzzyMatchAnyIndex(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiFuzzyMatchAnyIndex>();
}
}