简体   繁体   English

如何连接到服务器并使用Elastic Search索引pdf文件?

[英]How can I connect to a server and index pdf files with elastic Search?

So I have a basic User interface I created with vaadin and the goal is to eventually have an web application that I will deploy. 因此,我有一个使用vaadin创建的基本用户界面,目标是最终拥有一个要部署的Web应用程序。 This application will allow users to Search, update , delete/create, add, files to folders containing pdfs that that will be indexed and categorized. 该应用程序将允许用户搜索,更新,删除/创建,添加文件到包含将被索引和分类的pdf的文件夹中。 In other words I'm dealing with pdfs that need to be found and open after the user's query no matter what category is present or later added dynamically by the user. 换句话说,我要处理的是需要在用户查询后找到并打开的pdf,无论存在什么类别或以后由用户动态添加。 There isn't much information on using Spring boot ,elastic search, and vaadin .(plus I'm still a noob ) so I'm kind of stuck. 关于使用Spring Boot,弹性搜索和vaadin的信息不多。(而且我仍然是noob),所以我有点被卡住了。

ElasticSearch provide a plugin based on Apache Tika to help you to index PDF named Mapper plugin (former mapper-attachment) If you want to use Spring (not especially Spring boot), you can use Spring Data ElasticSearch but not sure that it's available for 5.X version. ElasticSearch提供了一个基于Apache Tika的插件,可帮助您索引名为Mapper插件的 PDF(以前是mapper-attachment)。如果您想使用Spring(不是特别是Spring boot),则可以使用Spring Data ElasticSearch,但不确定它是否可用于5 .X版本。 From my side, I prefere build my own Client API (Java) based on ElasticSearch Java API to fit my needs. 从我的角度来看,我更喜欢根据我的需要构建自己的基于ElasticSearch Java API的客户端API(Java)。 I don't know vaadin.... 我不知道vaadin ....

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM