7.17. Configuration — Groonga v7.0.6 documentation

# groonga - An open-source fulltext search engine and column store.

- 日本語

# 7.17. Configuration

New in version 5.1.2.

Groonga can manage configuration items in each database. These configuration items are persistent. It means that these configuration items are usable after a Groonga process exits.

## 7.17.1. Summary

You can change some Groonga behaviors such as 検索 by some ways such as request parameter (match_escalation_threshold) and build parameter (--with-match-escalation-threshold=NUMBER).

Configuration is one of these ways. You can change some Groonga behaviors per database by configuration.

A configuration item consists of key and value. Both of key and value are string. The max key size is 4KiB. The max value size is 4091B (= 4KiB - 5B).

You can set a configuration item by config_set.

You can get a configuration item by config_get.

You can delete a configuration item by config_delete.

You can confirm all configuration items by dump.

## 7.17.2. Commands

- 7.3.15. `config_delete`
- 7.3.16. `config_get`
- 7.3.17. `config_set`