mirror of
https://github.com/apache/lucene.git
synced 2025-02-24 11:16:35 +00:00
SOLR-7046: NullPointerException when group.function uses query() function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655525 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
98bd7cc831
commit
667fa3a270
@ -93,6 +93,12 @@ New Features
|
|||||||
deprecated in favour of close(). (Mark Miller, Tomás Fernández Löbbe, Alan
|
deprecated in favour of close(). (Mark Miller, Tomás Fernández Löbbe, Alan
|
||||||
Woodward)
|
Woodward)
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
* SOLR-7046: NullPointerException when group.function uses query() function.
|
||||||
|
(Jim Musil via Erick Erickson)
|
||||||
|
|
||||||
Other Changes
|
Other Changes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
@ -927,7 +927,7 @@ public class Grouping {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void prepare() throws IOException {
|
protected void prepare() throws IOException {
|
||||||
Map context = ValueSource.newContext(searcher);
|
context = ValueSource.newContext(searcher);
|
||||||
groupBy.createWeight(context, searcher);
|
groupBy.createWeight(context, searcher);
|
||||||
actualGroupsToFind = getMax(offset, numGroups, maxDoc);
|
actualGroupsToFind = getMax(offset, numGroups, maxDoc);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user