elastic / elasticsearch-java

Official Elasticsearch Java Client
Apache License 2.0
408 stars 237 forks source link

Assign a tokenizer to a field when creating an index. 8.6.0 #788

Closed billy723 closed 4 months ago

billy723 commented 4 months ago

Description

I have created a model class and I hope to use it to create an index. I am currently facing a problem. How can I specify a word breaker for certain fields in the index? And how to specify that certain fields are not segmented.

JDK version: 11

Maven Info:

co.elastic.clients elasticsearch-java 8.6.0
l-trotta commented 4 months ago

Hello! We use GitHub issues for verified bug reports, feature requests, and pull requests. This is a question, and we'd like to direct these kinds of things to the Elastic Discuss Forum. If you can stop by there, we'd appreciate it. Thank you for your understanding.