| 1 |
.. -*- rst -*- |
| 2 |
|
| 3 |
Configuration |
| 4 |
============= |
| 5 |
|
| 6 |
.. versionadded:: 5.1.2 |
| 7 |
|
| 8 |
Groonga can manage configuration items in each database. These |
| 9 |
configuration items are persistent. It means that these configuration |
| 10 |
items are usable after a Groonga process exits. |
| 11 |
|
| 12 |
Summary |
| 13 |
------- |
| 14 |
|
| 15 |
You can change some Groonga behaviors such as :doc:`/spec/search` by |
| 16 |
some ways such as request parameter |
| 17 |
(:ref:`select-match-escalation-threshold`) and build parameter |
| 18 |
(:ref:`install-configure-with-match-escalation-threshold`). |
| 19 |
|
| 20 |
Configuration is one of these ways. You can change some Groonga |
| 21 |
behaviors per database by configuration. |
| 22 |
|
| 23 |
A configuration item consists of key and value. Both of key and value |
| 24 |
are string. The max key size is 4KiB. The max value size is 4091B (= |
| 25 |
4KiB - 5B). |
| 26 |
|
| 27 |
You can set a configuration item by |
| 28 |
:doc:`/reference/commands/config_set`. |
| 29 |
|
| 30 |
You can get a configuration item by |
| 31 |
:doc:`/reference/commands/config_get`. |
| 32 |
|
| 33 |
You can delete a configuration item by |
| 34 |
:doc:`/reference/commands/config_delete`. |
| 35 |
|
| 36 |
You can confirm all configuration items by |
| 37 |
:doc:`/reference/commands/dump`. |
| 38 |
|
| 39 |
.. _configuration-commands: |
| 40 |
|
| 41 |
Commands |
| 42 |
-------- |
| 43 |
|
| 44 |
* :doc:`/reference/commands/config_delete` |
| 45 |
* :doc:`/reference/commands/config_get` |
| 46 |
* :doc:`/reference/commands/config_set` |