[英]watching the created query in solrnet
I'm using solrnet in a MVC3 application. 我在MVC3应用程序中使用solrnet。 Now I run into some errors.
现在我遇到了一些错误。 For finding the reason it would be very helpful to print out the created "solr-request-url".
为了找到原因,打印出创建的“ solr-request-url”将非常有帮助。 is there a possibility to give out the created query/the full URL.
是否有可能给出创建的查询/完整的URL。
I create my Query on following way: 我通过以下方式创建查询:
var result = solr.Query(...);
thanks a lot for your answers! 非常感谢你的回答!
solr-request-url means: http://localhost:9983/solr/select/?q=mainquery&fq=status:public&fq={!tag=dt}doctype:pdf...
solr-request-url的意思是:
http://localhost:9983/solr/select/?q=mainquery&fq=status:public&fq={!tag=dt}doctype:pdf...
Yes, set up a ISolrConnection decorator. 是的,设置一个ISolrConnection装饰器。 See LoggingConnection in the sample app for reference.
请参阅示例应用程序中的LoggingConnection以获取参考。
您还可以在Solr日志中查看URL(以及异常堆栈跟踪,如果有的话)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.