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