mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
25 lines
579 B
C++
25 lines
579 B
C++
|
#include "FunctionsMultiStringFuzzySearch.h"
|
||
|
#include "FunctionFactory.h"
|
||
|
#include "MultiMatchAllIndicesImpl.h"
|
||
|
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
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>();
|
||
|
}
|
||
|
|
||
|
}
|