迁移SolrNet MVC2应用MVC3 [英] Migrating SolrNet MVC2 Application to MVC3

查看:130
本文介绍了迁移SolrNet MVC2应用MVC3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关SolrNET搜索示例应用程序是在MVC 2。我试图把它转换成MVC 3应用程序。搜索是可以正常使用,通过连接到我自己的Solr的实例。但没有得到显示小面。

The sample application for SolrNET search is in MVC 2. I tried to convert it into MVC 3 application. The search is working perfectly, by connecting to my own solr instance. But the faceting is not getting displayed.

private static readonly string[] AllFacetFields = new[] { "Dataaccess", "AccessMethod", "Datacreator", "Dataset", "Geographicalarea"};

而当我按照最佳匹配,价格和随机的搜索结果进行排序,我得到这样的链接,

And when the I sort the search results according to the best match, price and random, I get the link like,

的http://本地主机:2086 /排序=价格

但是,我该怎么办,如果我想改变价到别的东西。我一直在努力SolrNet只在最后几天,我被困在小面。

But, what should I do, if I want to change the "price" to something else. I have been working on SolrNet only for the last few days and I'm stuck with the faceting.

推荐答案

问题标题说迁移SolrNet MVC2应用MVC3,但OP的真正的问题是有关实施multifaceting。该SolrNet示例应用目前不实行multifaceting,但 SolrNet本身并。该OP想要一个示例应用程序与multifaceting是免费的。查看评论获取更多信息。

The question title says "Migrating SolrNet MVC2 Application to MVC3" but the real problem of the OP was about implementing multifaceting. The SolrNet sample app doesn't currently implement multifaceting, but SolrNet itself does. The OP wanted a sample app with multifaceting for free. See the comments for more information.

这篇关于迁移SolrNet MVC2应用MVC3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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