ClickHouse/src/Functions/multiFuzzyMatchAllIndices.cpp

28 lines
590 B
C++
Raw Normal View History

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