lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (SOLR-8776) Support RankQuery in grouping
Date Tue, 28 Feb 2017 17:16:45 GMT


ASF GitHub Bot commented on SOLR-8776:

GitHub user diegoceccarelli opened a pull request:

    SOLR-8776: Support RankQuery in grouping

    Update SOLR-8776 to current master
      - Reranking and grouping work together in non-distributed setting when grouping is done
by field
      - Still have to fix for distribute setting and for grouping based on the unique values
of a function query. 

You can merge this pull request into a Git repository by running:

    $ git pull master-solr-8776

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #162
commit cd33172184c3889dfe95c631e7c30729f1c752a3
Author: diego <>
Date:   2017-02-28T10:28:32Z

    SOLR-8776: Support RankQuery in grouping


> Support RankQuery in grouping
> -----------------------------
>                 Key: SOLR-8776
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 6.0
>            Reporter: Diego Ceccarelli
>            Priority: Minor
>             Fix For: 6.0
>         Attachments: 0001-SOLR-8776-Support-RankQuery-in-grouping.patch, 0001-SOLR-8776-Support-RankQuery-in-grouping.patch,
0001-SOLR-8776-Support-RankQuery-in-grouping.patch, 0001-SOLR-8776-Support-RankQuery-in-grouping.patch,
> Currently it is not possible to use RankQuery [1] and Grouping [2] together (see also
[3]). In some situations Grouping can be replaced by Collapse and Expand Results [4] (that
supports reranking), but i) collapse cannot guarantee that at least a minimum number of groups
will be returned for a query, and ii) in the Solr Cloud setting you will have constraints
on how to partition the documents among the shards.
> I'm going to start working on supporting RankQuery in grouping. I'll start attaching
a patch with a test that fails because grouping does not support the rank query and then I'll
try to fix the problem, starting from the non distributed setting (GroupingSearch).
> My feeling is that since grouping is mostly performed by Lucene, RankQuery should be
refactored and moved (or partially moved) there. 
> Any feedback is welcome.
> [1] 
> [2]
> [3]
> [4]

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message