Using hyphenation pattern file in Cloud elastic

(Morten Bock) #1

When using a hyphenation decompounder filter, you can supply a hyphenation_patterns_path that points to an XML file.

How would I go about using this feature on an Elastic Cloud instance? How do I upload that file, and how do I reference it from my index settings?

(Morten Bock) #2

To answer my own question:

  1. Create a zip file containing a "dictionaries" folder with the "hyphenation_patterns.xml" file in it.
  2. Upload the zip file as a "bundle" in you cloud account
  3. Activate the bundle for your deployment/cluster
  4. Reference the file as "hyphenation_patterns_path": "hyphenation_patterns.xml" when creating your index.

(system) closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.