documentation edit

This commit is contained in:
Артем Стрельцов 2020-04-09 00:53:48 +03:00
parent c0051d9cd9
commit f2fda85708
2 changed files with 38 additions and 0 deletions

View File

@ -30,6 +30,25 @@ SOURCE(SOURCE_TYPE(param1 val1 ... paramN valN)) -- Source configuration
The source is configured in the `source` section.
For source types
[Local file](#dicts-external_dicts_dict_sources-local_file),
[Executable file](#dicts-external_dicts_dict_sources-executable),
[HTTP(s)](#dicts-external_dicts_dict_sources-http),
[ClickHouse](#dicts-external_dicts_dict_sources-clickhouse)
optional format settings are available:
``` xml
<source>
<file>
<path>/opt/dictionaries/os.tsv</path>
<format>TabSeparated</format>
</file>
<settings>
<format_csv_allow_single_quotes>0</format_csv_allow_single_quotes>
</settings>
</source>
```
Types of sources (`source_type`):
- [Local file](#dicts-external_dicts_dict_sources-local_file)

View File

@ -30,6 +30,25 @@ SOURCE(SOURCE_TYPE(param1 val1 ... paramN valN)) -- Source configuration
Источник настраивается в разделе `source`.
Для типов источников
[Локальный файл](#dicts-external_dicts_dict_sources-local_file),
[Исполняемый файл](#dicts-external_dicts_dict_sources-executable),
[HTTP(s)](#dicts-external_dicts_dict_sources-http),
[ClickHouse](#dicts-external_dicts_dict_sources-clickhouse)
доступны дополнительные настройки форматирования:
``` xml
<source>
<file>
<path>/opt/dictionaries/os.tsv</path>
<format>TabSeparated</format>
</file>
<settings>
<format_csv_allow_single_quotes>0</format_csv_allow_single_quotes>
</settings>
</source>
```
Типы источников (`source_type`):
- [Локальный файл](#dicts-external_dicts_dict_sources-local_file)