Solr 可用于 .Net 吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1749314/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is Solr available for .Net?
提问by Ed.
I want to learn Solr. May I know some good tutorial/links for it?
我想学习 Solr。我可以知道一些好的教程/链接吗?
Also, is Solr available for .NET?
另外,Solr 可用于 .NET 吗?
回答by Mauricio Scheffer
If you mean running the Solr server on .Net instead of Java, then no, there is no port. I've been trying to run it with IKVMherebut it's low-priority to me so I can't put much time on it. It'd be great if someone can help out with this.
如果您的意思是在 .Net 而不是 Java 上运行 Solr 服务器,那么不,没有端口。我一直试图在这里用IKVM运行它,但它对我来说是低优先级的,所以我不能花太多时间。如果有人能帮忙解决这个问题,那就太好了。
If you mean using/connecting to Solr from a .Net application, then yes, you can use SolrNetor SolrSharpfor that.
如果您的意思是从 .Net 应用程序使用/连接到 Solr,那么是的,您可以为此使用SolrNet或SolrSharp。
I blogged about thisnot long ago.
不久前我写了一篇关于这个的博客。
UPDATE: I made significant progress with Solr + IKVM.
更新:我在Solr + IKVM 方面取得了重大进展。
回答by Michael
Jeff Rodenburg created a C# API for interoperation with Solr. The API supports:
Jeff Rodenburg 创建了一个用于与 Solr 互操作的 C# API。API 支持:
Adding, updating and deleting documents from a solr index. Configuration support for multiple solr instances. Flags for Read/Write modes in support of solr replication. Search queries that return strongly-typed objects Support for facets
从 solr 索引中添加、更新和删除文档。对多个 solr 实例的配置支持。支持 solr 复制的读/写模式标志。返回强类型对象的搜索查询 支持方面
and more ... http://www.codeplex.com/solrsharp
还有更多...... http://www.codeplex.com/solrsharp
回答by balena
If you just want to replicate the Lucene.NET database between several machines (in a master-slave disposition), so you can try Lucene Steroids, available at http://bitbucket.org/guibv/lucene.steroids.
如果您只想在多台机器之间复制 Lucene.NET 数据库(以主从配置),那么您可以尝试 Lucene Steroids,可从http://bitbucket.org/guibv/lucene.steroids 获得。
This code is based on Solr shell scripts, and uses cwRsync to sync files.
此代码基于 Solr shell 脚本,并使用 cwRsync 同步文件。
回答by DolceVita
I would like to introduce my open-source library called LinqToSolr, which provides the functionality of building linq-queries to Solr. Here is a nuget pageor browse github project
我想介绍一下我的名为 LinqToSolr 的开源库,它提供了为 Solr 构建 linq-queries 的功能。这是一个nuget页面或浏览github项目
回答by RobV
Yes it is, there's at least one open source project on GitHub.
是的,GitHub 上至少有一个开源项目。

