tamaramata / solrnet

Automatically exported from code.google.com/p/solrnet
0 stars 0 forks source link

ISolrQueryResults not working with solrNet 4.0 #196

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ISolrQueryResults was working with solrNet 3.0 

like my code with solrNet 3.0 was

 ISolrOperations<ProductTest2> solr = ServiceLocator.Current.GetInstance<ISolrOperations<ProductTest2>>();
 ISolrQueryResults<ProductTest2> powerArticles  = solr.Query(new SolrQuery("is_OneCategoryActive:true") , new QueryOptions
            {
                FilterQueries = new[] { new SolrQueryByRange<Int32>("bestsellercurrent",1, 5) },
                Start = 0,
                Rows = 5
            }
             );

Now its stop working with solrNet 4.0. Please suggest me what i need to change.

Original issue reported on code.google.com by jashutos...@gmail.com on 1 Nov 2012 at 10:02

GoogleCodeExporter commented 8 years ago
http://stackoverflow.com/questions/13175240/isolrqueryresults-not-working-with-s
olrnet-4-0

Original comment by mauricio...@gmail.com on 3 Nov 2012 at 4:40