You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2019/02/07 17:33:00 UTC

[jira] [Resolved] (SOLR-13228) Solr collapse result repeat in 6.6.5 cloud example techproducts.

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

Erick Erickson resolved SOLR-13228.
-----------------------------------
    Resolution: Incomplete

Please raise questions like this on the user's list, we try to reserve JIRAs for known bugs/enhancements rather than usage questions. The user's list has many more people looking at it so in all probability you'll also get your answers faster.

Please don't think that I'm unwilling to help ... it just needs to happen in the correct place.

See the solr-user@lucene.apache.org mailing list, here: [http://lucene.apache.org/solr/resources.html#community]

When you do post on the user's list, also include what you think is wrong. As it stands, you've just provided the responses, now what you want/expect/think is wrong

> Solr collapse result repeat in 6.6.5 cloud example techproducts.
> ----------------------------------------------------------------
>
>                 Key: SOLR-13228
>                 URL: https://issues.apache.org/jira/browse/SOLR-13228
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: query parsers
>    Affects Versions: 6.6.5
>         Environment: op: fedora 27
> solr version: 6.6.5
> collection: example cloud - techproducts
>            Reporter: Liu Zheng
>            Priority: Major
>
> i try request this to techproducts collection
> {code}
> select?fl=id,genre_s&fq={!collapse%20field=genre_s}&indent=on&q=genre_s:*&wt=json
> {code}
> and i get response
> {code:json}
> {
>   "responseHeader":{
>     "zkConnected":true,
>     "status":0,
>     "QTime":6,
>     "params":{
>       "q":"genre_s:*",
>       "indent":"on",
>       "fl":"id,genre_s",
>       "fq":"{!collapse field=genre_s}",
>       "wt":"json"}},
>   "response":{"numFound":3,"start":0,"maxScore":1.0,"docs":[
>       {
>         "id":"0812521390",
>         "genre_s":"fantasy"},
>       {
>         "id":"0553573403",
>         "genre_s":"fantasy"},
>       {
>         "id":"0553293354",
>         "genre_s":"scifi"}]
>   }}
> {code}
> when i request in grouping
> {code}
> select?fl=id,genre_s&group.field=genre_s&group.limit=1&group=true&indent=on&q=genre_s:*&wt=json
> {code}
> i get the response
> {code:json}
> {
>   "responseHeader":{
>     "zkConnected":true,
>     "status":0,
>     "QTime":9,
>     "params":{
>       "q":"genre_s:*",
>       "indent":"on",
>       "fl":"id,genre_s",
>       "group.limit":"1",
>       "wt":"json",
>       "group.field":"genre_s",
>       "group":"true"}},
>   "grouped":{
>     "genre_s":{
>       "matches":10,
>       "groups":[{
>           "groupValue":"fantasy",
>           "doclist":{"numFound":8,"start":0,"maxScore":1.0,"docs":[
>               {
>                 "id":"0553573403",
>                 "genre_s":"fantasy"}]
>           }},
>         {
>           "groupValue":"scifi",
>           "doclist":{"numFound":2,"start":0,"docs":[
>               {
>                 "id":"0553293354",
>                 "genre_s":"scifi"}]
>           }}]}}}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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