How do I pass multiple “bq” arguments to LocalParams in SolrNet?
问题 LocalParams is really just a Dictionary<string, string> behind the scenes. However, I want to pass multiple Boost Queries, which use the key "bq". Obviously, any attempt to add my second "bq" key will fail with An item with the same key has already been added. var lp = new LocalParams(); lp.Add("bq", "ContentType:Update^3.0"); lp.Add("bq", "ContentType:Comment^0.5"); // Error occurs here... What's the trick to passing multiple Boost Queries (or multiple anything, really)... 回答1: The comment