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

29 lines
594 B
C++

#include "FunctionsMultiStringFuzzySearch.h"
#include "FunctionFactory.h"
#include "MultiMatchAllIndicesImpl.h"
namespace DB
{
namespace
{
struct NameMultiFuzzyMatchAllIndices
{
static constexpr auto name = "multiFuzzyMatchAllIndices";
};
using FunctionMultiFuzzyMatchAllIndices = FunctionsMultiStringFuzzySearch<
MultiMatchAllIndicesImpl<UInt64, true>,
NameMultiFuzzyMatchAllIndices,
std::numeric_limits<UInt32>::max()>;
}
void registerFunctionMultiFuzzyMatchAllIndices(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiFuzzyMatchAllIndices>();
}
}