.net - Java Lucene 与 .Net 集成

标签 .net lucene solr nutch

我已经设置了 nutch 和 lucene 来抓取和索引一些网站,并且我想使用 .net 网站而不是 nutch 附带的 JSP 网站。

有人可以推荐一些解决方案吗?

我见过一些解决方案,其中有一个应用程序在索引服务器上运行,.Net 站点使用远程处理连接到该索引服务器。

速度显然是一个考虑因素,那么这仍然可以表现良好吗?

编辑: NHibernate.Search 可以用于此吗?

编辑:我们最终选择了 ASP.net 站点使用的 Solr 索引服务器,solrnet图书馆。

最佳答案

如果其他答案不太清楚,Lucene.NET 和 Lucene (Java) 使用相同的索引格式,因此您应该能够继续使用现有的(基于 Java 的)机制来索引,然后在 .NET Web 应用程序中使用 Lucene.NET 来查询索引。

来自the Lucene.NET incubator site :

In addition to the APIs and classes port to C#, the algorithm of Java Lucene is ported to C# Lucene. This means an index created with Java Lucene is back-and-forth compatible with the C# Lucene; both at reading, writing and updating. In fact a Lucene index can be concurrently searched and updated using Java Lucene and C# Lucene processes

关于.net - Java Lucene 与 .Net 集成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/204519/

相关文章:

.net - 如何获取调用方法的名称?

c# - 我需要通过 try/catch 包装一个 TransactionScope 吗?

c# - 如何在没有url编码的情况下允许&在带有西类牙字符的url中的单词之间

boost - 如何在Elasticsearch中使用所有搜索词而不是所有搜索词的OR来 boost 记录?

search - Solr 与 ElasticSearch

search - Solr 搜索大量值

c# - 如何将多个处理程序添加到 XAML 中的附加事件?

solr - 关于 Solr 的几个问题。交易和实时搜索

azure - 通过 azure 搜索过滤器返回带重音的结果集和正常的结果集

drupal - 让 ExtractingRequestHandler 在 Solr 中工作