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

Implement analysis configuration #24

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

Implement analysis configuration #24

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 analyzers, normalizers, tokenizers, filters.
Configuration should be detached from specific index - any index should be able to use analysis elements configured once.

Testing:

  1. Create Spring Bean implements IndexAnalysisConfigurer
  2. Configure some analyzers in different ways (see javadoc of https://github.com/Haulmont/jmix-search/blob/master/search/src/main/java/io/jmix/search/index/mapping/analysis/IndexAnalysisConfigurer.java)
  3. Configure entity for indexing. Specify created analyzers on some properties
  4. Start application
  5. Check index metadata - analysis settings should contain configurations of user-defined analyzers (and tokenizers\filters) used in field mapping
@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

2 participants