SOLR - Tika - 存储文件的二进制版本 [英] SOLR - Tika - Store binary version of file

查看:33
本文介绍了SOLR - Tika - 存储文件的二进制版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用集成在 SOLR 中的 Tika 来索引文档并允许搜索所述文档.这工作得非常顺利(现在我的设置与 SOLR 附带的示例完全相同),我确实可以索引和搜索文档.除了索引文档,我想将二进制版本存储在 SOLR 中,以便在搜索返回结果时我可以返回完整的 PDF/Word/等.下载文件.这可能吗?

I am using Tika integrated in SOLR to index documents and allow search on said documents. This works pretty smoothly (right now my setup is exactly the same as the example as the example that ships with SOLR) and I can indeed index and search documents. As well as indexing the document I would like to store the binary version in SOLR so that when a search returns a result I can return a full PDF/Word/etc. document for download. Is this possible?

推荐答案

不.
Solr 是全文搜索引擎,不提供任何用于存储二进制文件的现成实现.
相反,您可以轻松地将二进制文件托管在外部,并通过通过 id 链接的 http 呈现它们.

Nope.
Solr is full Text search engine and does not provide any out of the box implementation for storing the binary files.
Instead, you can easily host the binary files outside and have them rendered through http linked through id.

这篇关于SOLR - Tika - 存储文件的二进制版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆