Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的 C# 应用程序中使用 solr.net。为了得到结果,我在 solr 中使用了以下查询。
solr.Query(query, queryOptions);
问题是,当我们有一个很长的查询然后我们执行这个命令时它会产生错误,因为它正在使用 Get 方法并且在 Get 方法的查询字符串中有一个限制。为什么我们可以使用 Post 方法?
请参阅此博客文章 - SolrNet 作者的自定义 SolrNet,其中描述了如何创建自定义PostSolrConnection类。
PostSolrConnection