[
https://issues.apache.org/jira/browse/SOLR-2637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn van Groningen updated SOLR-2637:
----------------------------------------
Attachment: SOLR-2637.patch
Added a new patch, that builds further on Tao's work.
* Grouped and GroupField don't extends from ArrayList any more. That have a
list as field.
* Renamed Grouped to GroupResponse
* Renamed GroupField to GroupCommand
* Added an initial test.
* Fixed bug in XMLResponseParser. When a lst element appeared inside a arr
element, the check at line 320 failed. This resulted in an exception.
* Made the code work with group.query
This is work in progress. I'll need to extend the test with more assertions.
Also I might make GroupCommand abstract and add three concrete subclasses
(GroupField, GroupFunction and GroupQuery). Seems like a good idea to me.
> Solrj support for Field Collapsing / Grouping query results parsing
> -------------------------------------------------------------------
>
> Key: SOLR-2637
> URL: https://issues.apache.org/jira/browse/SOLR-2637
> Project: Solr
> Issue Type: New Feature
> Components: clients - java
> Affects Versions: 4.0
> Reporter: Tao Cheng
> Assignee: Martijn van Groningen
> Priority: Minor
> Labels: features
> Fix For: 3.4, 4.0
>
> Attachments: SOLR-2637.patch, SOLR-2637.patch, SOLR-2637.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Patch ready for Field Collapsing query results parsing.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]