Add handling of Result Grouping Solr responses. - #39
Open
imjinn wants to merge 1 commit into
Open
Conversation
Owner
|
Thanks for the submission. Two things:
|
Author
|
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 |
Owner
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.