Re: Problem with SolrJ and Grouping

2011-09-12 Thread Martijn v Groningen
The changes to that class were minor. There is only support for parsing a grouped response. Check the QueryResponse class there is a method getGroupResponse() I ran into similar exceptions when creating the QueryResponseTest#testGroupResponse test. The test use a xml response from a file. On 12 Se

Re: Problem with SolrJ and Grouping

2011-09-12 Thread Kirill Lykov
Martijn, I can't find the fixed version. I've got the last version of SolrJ but I see only minor changes in XMLResponseParser.java. And it doesn't support grouping yet. I also checked branch_3x, branch for 3.4. On Mon, Sep 12, 2011 at 5:45 PM, Martijn v Groningen wrote: > Also the error you desc

Re: Problem with SolrJ and Grouping

2011-09-12 Thread Martijn v Groningen
Also the error you described when wt=xml and using SolrJ is also fixed in 3.4 (and in trunk / branch3x). You can wait for the 3.4 release of use a night 3x build. Martijn On 12 September 2011 12:41, Sanal K Stephen wrote: > Kirill, > >         Parsing the grouped result using SolrJ is not releas

Re: Problem with SolrJ and Grouping

2011-09-12 Thread Sanal K Stephen
Kirill, Parsing the grouped result using SolrJ is not released yet I think..its going to release with Solr 3.4.0.SolrJ client cannot parse grouped and range facets results SOLR-2523. see the release notes of Solr 3.4.0 http://wiki.apache.org/solr/ReleaseNote34 On Mon, Sep 12, 2011 at 3

Problem with SolrJ and Grouping

2011-09-12 Thread Kirill Lykov
I found that SolrQuery doesn’t work with grouping. I constructed SolrQuery this way: solrQuery = constructFullSearchQuery(searchParams); solrQuery.set("group", true); solrQuery.set("group.field", "GeonameId"); Solr successfully handles request and writes about that in log: INFO: [] webapp=/solr