Fix error

This commit is contained in:
Alexey Milovidov 2022-08-28 02:40:43 +02:00
parent ef191efdc8
commit 632867dbff
2 changed files with 25 additions and 4 deletions

View File

@ -1 +0,0 @@
../../../tests/config/config.d/nlp.xml

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<clickhouse>
<synonyms_extensions>
<extension>
<name>en</name>
<type>plain</type>
<path>config.d/ext-en.txt</path>
</extension>
<extension>
<name>ru</name>
<type>plain</type>
<path>config.d/ext-ru.txt</path>
</extension>
</synonyms_extensions>
<lemmatizers>
<lemmatizer>
<lang>en</lang>
<path>config.d/lem-en.bin</path>
</lemmatizer>
</lemmatizers>
</clickhouse>

View File

@ -4,19 +4,19 @@
<extension> <extension>
<name>en</name> <name>en</name>
<type>plain</type> <type>plain</type>
<path>config.d/ext-en.txt</path> <path>/etc/clickhouse-server/config.d/ext-en.txt</path>
</extension> </extension>
<extension> <extension>
<name>ru</name> <name>ru</name>
<type>plain</type> <type>plain</type>
<path>config.d/ext-ru.txt</path> <path>/etc/clickhouse-server/config.d/ext-ru.txt</path>
</extension> </extension>
</synonyms_extensions> </synonyms_extensions>
<lemmatizers> <lemmatizers>
<lemmatizer> <lemmatizer>
<lang>en</lang> <lang>en</lang>
<path>config.d/lem-en.bin</path> <path>/etc/clickhouse-server/config.d/lem-en.bin</path>
</lemmatizer> </lemmatizer>
</lemmatizers> </lemmatizers>
</clickhouse> </clickhouse>