如何在 lucene 中索引 pdf、ppt、xl 文件(基于 java 或 python 或 php 中的任何一个都可以)? [英] How to index pdf, ppt, xl files in lucene (java based or python or php any of these is fine)?

查看:13
本文介绍了如何在 lucene 中索引 pdf、ppt、xl 文件(基于 java 或 python 或 php 中的任何一个都可以)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我也想知道如何在索引时添加元数据,以便我可以提升一些参数

Also I want to know how to add meta data while indexing so that i can boost some parameters

推荐答案

Lucene 索引文本而不是文件 - 您需要一些其他过程来从文件中提取文本并在其上运行 Lucene.

Lucene indexes text not files - you'll need some other process for extracting the text out of the file and running Lucene over that.

这篇关于如何在 lucene 中索引 pdf、ppt、xl 文件(基于 java 或 python 或 php 中的任何一个都可以)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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