本文介绍了看着solrnet所创建的查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的应用程序MVC3 solrnet。现在,我碰到一些错误。为了找到原因,这将是非常有益打印出所创建的Solr的请求的URL。
有没有可能让出创建的查询/完整的URL。

I'm using solrnet in a MVC3 application. Now I run into some errors. For finding the reason it would be very helpful to print out the created "solr-request-url".is there a possibility to give out the created query/the full URL.

创建我的下列方式查询:

I create my Query on following way:

var result = solr.Query(...);

非常感谢您的回答!

thanks a lot for your answers!

Solr的请求的URL是指: <$c$c>http://localhost:9983/solr/select/?q=mainquery&fq=status:public&fq={!tag=dt}doctype:pdf...

solr-request-url means: http://localhost:9983/solr/select/?q=mainquery&fq=status:public&fq={!tag=dt}doctype:pdf...

推荐答案

您还可以看到URL(和异常堆栈跟踪,如果有的话)Solr的日志。

You can also see the URL (and the exception stack trace, if any) in the Solr log.

这篇关于看着solrnet所创建的查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 20:52