Add handling of Result Grouping Solr responses.
Handling of Solr Result Grouping feature was added to WebService::Solr. The response data structure could differ greatly from the typical response structure depending on the request fields passed. Methods were added to properly access documents analogous to existing methods; see code and/or perldoc for specifics. Integration of group data with Data::Page wasn't performed as this feature isn't used at our company and appropriate testing of that enhancement couldn't be done.
No other Perl library currently handles grouping for Solr and since we already were using this for basic Solr queries it was an easy decision to add this ability. It is backwards compatible and gives appropriate results if called and grouping isn't used. Thanks.
Thanks for the submission. Two things:
-
We will need to have to tests to add to the test suite to test these changes.
-
Can you point me at discussion of the Solr side of this in the Solr docs?
I'll work on getting tests for the new features added soon. The latest documentation on grouping is under Search and can be seen at https://lucene.apache.org/solr/guide/7_7/result-grouping.html. Result Grouping has been around since version 3.X
Sounds good, thanks. I've never used it, so I'll be relying on a good set of tests that can match to what the Solr docs say.
Let me know when I can look at 'em.