Introduce FirstPassGroupingCollectorManager - #15574
Conversation
|
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution! |
Signed-off-by: Binlong Gao <gbinlong@amazon.com> Format code Signed-off-by: Binlong Gao <gbinlong@amazon.com>
82f9003 to
d40d5d5
Compare
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
|
Hi @dweiss , mind taking a look at this PR? I think it's simple. |
javanna
left a comment
There was a problem hiding this comment.
Thanks @gaobinlong , I left some comments!
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
|
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution! |
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
|
Hi @gaobinlong I am ready to do another round of review on this PR if you have time to address the comments. Thanks! |
Addressed all comments yet, please help to review, thanks! |
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
javanna
left a comment
There was a problem hiding this comment.
Last round of review, some minor comments.
Returning null can cause issues down the line once we move to using collector managers and leverage the merge method for results reduction. This commit replaces the null return type with an empty list. Relates to #15574
Returning null can cause issues down the line once we move to using collector managers and leverage the merge method for results reduction. This commit replaces the null return type with an empty list. Relates to #15574
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
javanna
left a comment
There was a problem hiding this comment.
left a couple more minor comments, this is really close, thanks!
Signed-off-by: Binlong Gao <gbinlong@amazon.com>
This pr introduces `FirstPassGroupingCollectorManager` and switches `TestGrouping` and `BaseGroupSelectorTestCase` to use search concurrency and move away from the deprecated `search(Query, Collector)` method. Relates to #12892. Signed-off-by: Binlong Gao <gbinlong@amazon.com>
|
Thanks @gaobinlong , merged! |
Description
This pr introduces FirstPassGroupingCollectorManager and switches TestGrouping and BaseGroupSelectorTestCase to use search concurrency and move away from the deprecated search(Query, Collector) method.
Relates to #12892.