ClickHouse/src/Functions/multiFuzzyMatchAny.cpp

26 lines
524 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 NameMultiFuzzyMatchAny
{
static constexpr auto name = "multiFuzzyMatchAny";
};
using FunctionMultiFuzzyMatchAny = FunctionsMultiStringFuzzySearch<MultiMatchAnyImpl<NameMultiFuzzyMatchAny, /*ResultType*/ UInt8, MultiMatchTraits::Find::Any, /*WithEditDistance*/ true>>;
2020-09-07 18:00:37 +00:00
}
REGISTER_FUNCTION(MultiFuzzyMatchAny)
{
factory.registerFunction<FunctionMultiFuzzyMatchAny>();
}
}