Skip to content

Set custom analyzer on mapping #23

Answered by wallneradam
bartpijn asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, Thank you!

Because this library uses official ElasticSearch python library (uses AsyncElasticsearch from it), everything works possible with that also possible with this.

You can add additional settings to any models with ESConfig class in the settings property: https://github.com/wallneradam/esorm?tab=readme-ov-file#model-settings
You can set anything you found in ES documents: https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html

Hope that helps

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wallneradam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #22 on September 20, 2024 11:23.