ClickHouse/src/Functions/multiFuzzyMatchAnyIndex.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
560 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, /*ResultType*/ UInt64, MultiMatchTraits::Find::AnyIndex, /*WithEditDistance*/ true>>;
2020-09-07 18:00:37 +00:00
}
REGISTER_FUNCTION(MultiFuzzyMatchAnyIndex)
{
factory.registerFunction<FunctionMultiFuzzyMatchAnyIndex>();
}
}