Lucene Solrnet查询的最小值应匹配(mm)

Lucene Solrnet查询的最小值应匹配(mm),lucene,solr4,solrnet,Lucene,Solr4,Solrnet,我正在使用ASP.NET MVC开发Solr版本4.10.2 我在Solr中执行了一个查询,如下所示: http://localhost:8983/solr/MyCoreName/select?q=red+sony+mobile+bluetooth+&wt=json&indent=true&defType=edismax&mm=50%25&stopwords=true&lowercaseOperators=true 更新 我已使用以下查询选项执行了查询: options = new QueryO

我正在使用ASP.NET MVC开发Solr版本4.10.2

我在Solr中执行了一个查询,如下所示:

http://localhost:8983/solr/MyCoreName/select?q=red+sony+mobile+bluetooth+&wt=json&indent=true&defType=edismax&mm=50%25&stopwords=true&lowercaseOperators=true

更新

我已使用以下查询选项执行了查询:

options = new QueryOptions
                            {
                                Rows = pageSize,
                                Start = (pageIndex - 1) * pageSize,
                                FilterQueries = _solrQuery.ToArray(),                        
                                Facet = new FacetParameters
                                {
                                    Queries = _solr.ToArray(),
                                    MinCount = 1,
                                },
                                ExtraParams = new Dictionary<string, string> 
                                 { 
                                    {"qt", "edismax"},
                                    {"mm","100%"} 
                                 },
                                SpellCheck = new SpellCheckingParameters { Query = keyword, Collate = true },
                            };
然后我在下面的查询中使用这个选项,其中我使用LocalParams。有什么错误吗?LocalParams和ExtraParams一起工作吗

private static ISolrOperations<MyClass> solr;                        
SolrQueryResults<MyClass> Results = new SolrQueryResults<MyClass>();   
Results = solr.Query(new LocalParams { { "type", "edismax" }, { "qf", "Name^" + nameWeight + "  Field1^" + Field1Weight + "  Field2^" + Field2Weight " }, { "bq", "InStock:true^"+ flag }} + new SolrQuery(keyword), options);
如何使用SolrNet从应用程序中实现这一点?使用哪个参数


请指教

见@Mauricio:谢谢。我尝试了你的解决方案,我更新了问题?你能再看一遍吗?在这里使用ExtraParams,而不是LocalParams。