ClickHouse/src/Functions/multiFuzzyMatchAnyIndex.cpp

26 lines
532 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<NameMultiFuzzyMatchAnyIndex, UInt64, false, true, true>>;
2020-09-07 18:00:37 +00:00
}
void registerFunctionMultiFuzzyMatchAnyIndex(FunctionFactory & factory)
{
factory.registerFunction<FunctionMultiFuzzyMatchAnyIndex>();
}
}