使用apache solr 4.0进行文件系统搜索的示例 [英] Example of File System Search using apache solr 4.0

查看:191
本文介绍了使用apache solr 4.0进行文件系统搜索的示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我的要求是:我必须创建一个Web应用程序,其中的搜索文本和按钮将在那里,当我输入一些文本进行搜索时,应该在Windows上搜索我的本地文件系统,如:C:/ drive和列出并显示这些包含匹配文本的文件。这就像Windows 8文件系统搜索。任何人都可以帮助我吗?我是Solr的新手。
我用Tomcat7和JDK 7配置了apache-solr-4.0.0。
请帮助一些示例。您可以发送任何示例应用程序到shubhankar.sarkar@yahoo.com。 您可能想要查看 ManifoldCF ,它有一个文件系统适配器和索引到Solr。否则,你必须建立你自己的抓取程序,决定要索引哪些文件类型等。


Hi My Requirement is that: I have to create an web application where a search text and button will be there and when I enter some text to search it should search into my local file system on windows like: C:/ drive and lists and display these files that contains the matched text. It is like windows 8 file system search. Can anybody help me on these??? I new to Solr. I configured apache-solr-4.0.0 with Tomcat7 and JDK 7. Please Help with some example. You can send me any sample application on shubhankar.sarkar@yahoo.com

解决方案

You may want to look at ManifoldCF, which has a file system adapter and indexes into Solr. Otherwise, you have to build your own crawler, make decisions on what file types to index, etc.

这篇关于使用apache solr 4.0进行文件系统搜索的示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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