gpt4 book ai didi

elasticsearch - 如何在 ElasticSearch 中索引 .PDF 文件

转载 作者:行者123 更新时间:2023-11-29 02:43:35 25 4
gpt4 key购买 nike

我是 ElasticSearch 的新手。我已经完成了关于创建索引的非常基本的教程。我确实理解索引的概念。我希望 ElasticSearch 在 .PDF 文件中进行搜索。根据我对创建索引的理解,似乎我需要阅读 .PDF 文件并提取所有关键字进行索引。但是,我不明白我需要遵循哪些步骤。如何读取 .PFD 文件以提取关键字。

最佳答案

elasticsearch-mapper-attachment 插件似乎已在 5.0.0(2016 年 10 月 26 日发布)中弃用。 documentation建议使用 Ingest Attachment Processor Plugin作为替代品。

安装:

sudo bin/elasticsearch-plugin install ingest-attachment

参见 How to index a pdf file in Elasticsearch 5.0.0 with ingest-attachment plugin?有关如何使用 Ingest Attachment 插件的信息。

关于elasticsearch - 如何在 ElasticSearch 中索引 .PDF 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34857179/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com