lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-11333) Sort across collapsed document is not working
Date Wed, 06 Sep 2017 23:23:00 GMT

     [ https://issues.apache.org/jira/browse/SOLR-11333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ray updated SOLR-11333:
-----------------------
    Description: 
I tried to use Collapsing Query Parser per following link:
https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results
here is the query I am using
http://<host_name>/solr/collection/select?q=groupId:*&fl=id,groupId,date&fq=%7B!collapse%20field=groupId%20sort=%27id%20asc%27%7D&expand=true&expand.rows=3&sort=date%20asc&expand.sort=id%20asc&rows=3

but I found the result is different from group query:
http://<host_name>/solr/collection/select?q=groupId:*&fl=id,date,groupId&group=true&group.field=groupId&group.limit=4&group.ngroups=true&sort=date%20asc&group.sort=id%20desc&rows=3

it seems sort across collapsed document is not working.

  was:
I tried to use Collapsing Query Parser per following link:
https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results
here is the query I am using
http://<hostname>/solr/collection/select?q=groupId:*&fl=id,groupId,date&fq=%7B!collapse%20field=groupId%20sort=%27date%20asc%27%7D&expand=true&expand.rows=3&sort=date%20asc&expand.sort=date%20asc

but I found the result is different from group query:
http://<hostname>/solr/collection/select?q=groupId:*&fl=id,date,groupId&group=true&group.field=groupId&group.limit=3&group.ngroups=true&sort=date%20asc&group.sort=date%20asc

it seems sort across collapsed document is not working.


> Sort across collapsed document is not working
> ---------------------------------------------
>
>                 Key: SOLR-11333
>                 URL: https://issues.apache.org/jira/browse/SOLR-11333
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Ray
>
> I tried to use Collapsing Query Parser per following link:
> https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results
> here is the query I am using
> http://<host_name>/solr/collection/select?q=groupId:*&fl=id,groupId,date&fq=%7B!collapse%20field=groupId%20sort=%27id%20asc%27%7D&expand=true&expand.rows=3&sort=date%20asc&expand.sort=id%20asc&rows=3
> but I found the result is different from group query:
> http://<host_name>/solr/collection/select?q=groupId:*&fl=id,date,groupId&group=true&group.field=groupId&group.limit=4&group.ngroups=true&sort=date%20asc&group.sort=id%20desc&rows=3
> it seems sort across collapsed document is not working.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message