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

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

问题描述

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

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天全站免登陆