mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
c9ce0efa66
- With this, invalid combinations of the FindAny/FindAnyIndex bools are no longer possible and we can remove the corresponding check - Also makes the instantiations more readable.
26 lines
581 B
C++
26 lines
581 B
C++
#include "FunctionsMultiStringFuzzySearch.h"
|
|
#include "FunctionFactory.h"
|
|
#include "MultiMatchAllIndicesImpl.h"
|
|
|
|
|
|
namespace DB
|
|
{
|
|
namespace
|
|
{
|
|
|
|
struct NameMultiFuzzyMatchAllIndices
|
|
{
|
|
static constexpr auto name = "multiFuzzyMatchAllIndices";
|
|
};
|
|
|
|
using FunctionMultiFuzzyMatchAllIndices = FunctionsMultiStringFuzzySearch<MultiMatchAllIndicesImpl<NameMultiFuzzyMatchAllIndices, /*ResultType*/ UInt64, /*WithEditDistance*/ true>>;
|
|
|
|
}
|
|
|
|
void registerFunctionMultiFuzzyMatchAllIndices(FunctionFactory & factory)
|
|
{
|
|
factory.registerFunction<FunctionMultiFuzzyMatchAllIndices>();
|
|
}
|
|
|
|
}
|