add proper docs

Signed-off-by: Kiss Miklos <miklos@roadie.io>
This commit is contained in:
Kiss Miklos
2025-02-19 20:27:10 +01:00
parent 37e53868a8
commit f84d2583c8
3 changed files with 22 additions and 5 deletions
+17
View File
@@ -238,3 +238,20 @@ search:
```
> You can also increase the batch size if you are using a large ES instance.
### Elasticsearch Index Name Customization
By default, the Elasticsearch indexer creates index names based on their type, a separator, and the current date as a postfix. You can configure a custom prefix for all indices by adding the following section to your app configuration.
An example of a default index name would look like this:
`software-catalog-index__20250219`
To prefix all indices with a custom string (e.g., `custom-prefix`), use the following configuration:
```yaml
search:
elasticsearch:
indexPrefix: custom-prefix-
```
After applying this setting, an index name would look like this: `custom-prefix-software-catalog-index__20250219`