Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Support configuration of index settings #23

Closed
Gavrilov-Ivan opened this issue Apr 2, 2021 · 1 comment
Closed

Support configuration of index settings #23

Gavrilov-Ivan opened this issue Apr 2, 2021 · 1 comment
Assignees
Milestone

Comments

@Gavrilov-Ivan
Copy link
Contributor

Gavrilov-Ivan commented Apr 2, 2021

There should be ability to configure different settings for some specific or all indices.
Parameter for specific indices should override the same parameter for all indices.

Testing:

  1. Create 2 entity, configure indexes for them
  2. Create Spring Bean implements IndexSettingsConfigurer
  3. In configure method set value of some settings parameter (e.g. "index.mapping.total_fields.limit" = 1500) for all indexes (context.getCommonSettingsBuilder) and some another value of the same parameter (e.g. "index.mapping.total_fields.limit" = 2000) for one of your indexed entity directly (context.getEntitySettingsBuilder(SomeEntity.class))
  4. ER: check metadata of both indexes - settings contain parameter with correct value (1500 and 2000)
@maistrenkoIulia
Copy link

verified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants