ClickHouse/src/Functions/multiFuzzyMatchAnyIndex.cpp

29 lines
581 B
C++
Raw Normal View History

#include "FunctionsMultiStringFuzzySearch.h"
#include "FunctionFactory.h"
#include "MultiMatchAnyImpl.h"
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct NameMultiFuzzyMatchAnyIndex
{
static constexpr auto name = "multiFuzzyMatchAnyIndex";
};
using FunctionMultiFuzzyMatchAnyIndex = FunctionsMultiStringFuzzySearch<
MultiMatchAnyImpl<UInt64, false, true, true>,
NameMultiFuzzyMatchAnyIndex,
std::numeric_limits<UInt32>::max()>;
2020-09-07 18:00:37 +00:00
}
void registerFunctionMultiFuzzyMatchAnyIndex(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiFuzzyMatchAnyIndex>();
}
}