Moved Lemmatizers & SynonymExtensions to Interpreters

This commit is contained in:
Nikolay Degterinsky 2021-06-19 17:57:46 +00:00
parent 076d666c8d
commit 014dbcbf49
9 changed files with 10 additions and 11 deletions

View File

@ -460,6 +460,10 @@ endif ()
dbms_target_link_libraries(PRIVATE _boost_context) dbms_target_link_libraries(PRIVATE _boost_context)
dbms_target_link_libraries (PUBLIC stemmer)
dbms_target_link_libraries (PUBLIC wnb)
dbms_target_link_libraries (PUBLIC lemmagen)
include ("${ClickHouse_SOURCE_DIR}/cmake/add_check.cmake") include ("${ClickHouse_SOURCE_DIR}/cmake/add_check.cmake")
if (ENABLE_TESTS AND USE_GTEST) if (ENABLE_TESTS AND USE_GTEST)

View File

@ -122,7 +122,3 @@ endif()
# Signed integer overflow on user-provided data inside boost::geometry - ignore. # Signed integer overflow on user-provided data inside boost::geometry - ignore.
set_source_files_properties("pointInPolygon.cpp" PROPERTIES COMPILE_FLAGS -fno-sanitize=signed-integer-overflow) set_source_files_properties("pointInPolygon.cpp" PROPERTIES COMPILE_FLAGS -fno-sanitize=signed-integer-overflow)
target_link_libraries(clickhouse_functions PRIVATE stemmer)
target_link_libraries(clickhouse_functions PRIVATE wnb)
target_link_libraries(clickhouse_functions PRIVATE lemmagen)

View File

@ -3,9 +3,8 @@
#include <Functions/FunctionFactory.h> #include <Functions/FunctionFactory.h>
#include <Functions/FunctionHelpers.h> #include <Functions/FunctionHelpers.h>
#include <Functions/IFunction.h> #include <Functions/IFunction.h>
#include <Functions/Lemmatizers.cpp>
#include <Interpreters/Context.h> #include <Interpreters/Context.h>
#include <Interpreters/Lemmatizers.cpp>
namespace DB namespace DB
{ {

View File

@ -6,8 +6,8 @@
#include <Functions/FunctionFactory.h> #include <Functions/FunctionFactory.h>
#include <Functions/FunctionHelpers.h> #include <Functions/FunctionHelpers.h>
#include <Functions/IFunction.h> #include <Functions/IFunction.h>
#include <Functions/SynonymsExtensions.h>
#include <Interpreters/Context.h> #include <Interpreters/Context.h>
#include <Interpreters/SynonymsExtensions.h>
#include <string_view> #include <string_view>

View File

@ -76,8 +76,8 @@
#include <Interpreters/DatabaseCatalog.h> #include <Interpreters/DatabaseCatalog.h>
#include <Storages/MergeTree/BackgroundJobsExecutor.h> #include <Storages/MergeTree/BackgroundJobsExecutor.h>
#include <Storages/MergeTree/MergeTreeDataPartUUID.h> #include <Storages/MergeTree/MergeTreeDataPartUUID.h>
#include <Functions/SynonymsExtensions.h> #include <Interpreters/SynonymsExtensions.h>
#include <Functions/Lemmatizers.h> #include <Interpreters/Lemmatizers.h>
#include <filesystem> #include <filesystem>

View File

@ -1,5 +1,5 @@
#include <Common/Exception.h> #include <Common/Exception.h>
#include <Functions/Lemmatizers.h> #include <Interpreters/Lemmatizers.h>
#include <RdrLemmatizer.h> #include <RdrLemmatizer.h>
#include <vector> #include <vector>

View File

@ -1,5 +1,5 @@
#include <Common/Exception.h> #include <Common/Exception.h>
#include <Functions/SynonymsExtensions.h> #include <Interpreters/SynonymsExtensions.h>
#include <fstream> #include <fstream>
#include <list> #include <list>