[jira] Created: (SOLR-2072) Search Grouping: expand group sort options

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SOLR-2072) Search Grouping: expand group sort options

JIRA jira@apache.org
Search Grouping: expand group sort options
------------------------------------------

                 Key: SOLR-2072
                 URL: https://issues.apache.org/jira/browse/SOLR-2072
             Project: Solr
          Issue Type: Sub-task
            Reporter: Yonik Seeley


Ability to specify functions over group documents when sorting groups.  max(score) or avg(popularity), etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-2072) Search Grouping: expand group sort options

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916375#action_12916375 ]

Koji Sekiguchi commented on SOLR-2072:
--------------------------------------

I don't understand this... I think you have already implemented the ability?

{code}
String groupSortStr = params.get(GroupParams.GROUP_SORT);
Sort groupSort = groupSortStr != null ? QueryParsing.parseSort(groupSortStr, req.getSchema()) : null;
{code}

Doesn't QueryParsing.parseSort() support sort by function?

> Search Grouping: expand group sort options
> ------------------------------------------
>
>                 Key: SOLR-2072
>                 URL: https://issues.apache.org/jira/browse/SOLR-2072
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>
> Ability to specify functions over group documents when sorting groups.  max(score) or avg(popularity), etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-2072) Search Grouping: expand group sort options

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916377#action_12916377 ]

Koji Sekiguchi commented on SOLR-2072:
--------------------------------------

Uh, I see SOLR-1297 is reopened. Do you meat this issue depends on SOLR-1297?

> Search Grouping: expand group sort options
> ------------------------------------------
>
>                 Key: SOLR-2072
>                 URL: https://issues.apache.org/jira/browse/SOLR-2072
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>
> Ability to specify functions over group documents when sorting groups.  max(score) or avg(popularity), etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-2072) Search Grouping: expand group sort options

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916378#action_12916378 ]

Yonik Seeley commented on SOLR-2072:
------------------------------------

Right now, the sort value for a group (that governs how whole groups sort relative to eachother) depends only on the top document in that group.  This issue is about a different type of function that can derive a group sort value from something else.  One example is being able to sort groups based on the average score in that group rather than just the top score.  Another example is being able to sort by the number of hits in each group.

> Search Grouping: expand group sort options
> ------------------------------------------
>
>                 Key: SOLR-2072
>                 URL: https://issues.apache.org/jira/browse/SOLR-2072
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>
> Ability to specify functions over group documents when sorting groups.  max(score) or avg(popularity), etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-2072) Search Grouping: expand group sort options

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916432#action_12916432 ]

Koji Sekiguchi commented on SOLR-2072:
--------------------------------------

I see. I read that "group sort" was group.sort. :)

Do we need a new parameter other than sort, to trigger the feature?

> Search Grouping: expand group sort options
> ------------------------------------------
>
>                 Key: SOLR-2072
>                 URL: https://issues.apache.org/jira/browse/SOLR-2072
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>
> Ability to specify functions over group documents when sorting groups.  max(score) or avg(popularity), etc.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]