ClickHouse/src/Functions/multiFuzzyMatchAllIndices.cpp

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

26 lines
552 B
C++
Raw Normal View History

#include "FunctionsMultiStringFuzzySearch.h"
#include "FunctionFactory.h"
#include "MultiMatchAllIndicesImpl.h"
namespace DB
{
2020-09-07 18:00:37 +00:00
namespace
{
struct NameMultiFuzzyMatchAllIndices
{
static constexpr auto name = "multiFuzzyMatchAllIndices";
};
using FunctionMultiFuzzyMatchAllIndices = FunctionsMultiStringFuzzySearch<MultiMatchAllIndicesImpl<NameMultiFuzzyMatchAllIndices, /*ResultType*/ UInt64, /*WithEditDistance*/ true>>;
2020-09-07 18:00:37 +00:00
}
REGISTER_FUNCTION(MultiFuzzyMatchAllIndices)
{
factory.registerFunction<FunctionMultiFuzzyMatchAllIndices>();
}
}