mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
28 lines
590 B
C++
28 lines
590 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<NameMultiFuzzyMatchAllIndices, UInt64, true>,
|
|
std::numeric_limits<UInt32>::max()>;
|
|
|
|
}
|
|
|
|
void registerFunctionMultiFuzzyMatchAllIndices(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionMultiFuzzyMatchAllIndices>();
|
|
}
|
|
|
|
}
|