【问题标题】:ElasticSearch on AWS: Token filters that require filesAWS 上的 ElasticSearch:需要文件的令牌过滤器
【发布时间】:2022-01-31 23:17:10
【问题描述】:

我们在 AWS 上使用 ElasticSearch 服务,并且希望使用连字符分解器令牌过滤器 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/analysis-compound-word-tokenfilter.html#_hyphenation_decompounder)。

此过滤器需要 ElasticSearch 服务器上存在一些文件(hyphenation_patterns_path 和 word_list_path,后者可以是内联的,但包含数千个似乎不是智能解决方案的单词)。因为在 ElasticSearch 服务的情况下,我们不控制服务器,似乎没有记录的方式将文件上传到服务器。我们如何仍然使用这个令牌过滤器?

【问题讨论】:

  • 你有没有找到解决这个问题的方法?我们在 elastic.co 上托管时遇到了类似的问题

标签: amazon-web-services elasticsearch


【解决方案1】:

你可以使用Packages:

Amazon OpenSearch Service 允许您上传自定义词典文件,例如停用词和同义词,以用于您的集群。这些类型的文件的通用术语是包。

【讨论】:

    猜你喜欢
    • 2015-09-22
    • 2012-09-19
    • 1970-01-01
    • 2022-01-17
    • 2017-10-12
    • 2020-01-31
    • 2016-10-30
    • 1970-01-01
    • 2021-09-08
    相关资源
    最近更新 更多