lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2236) Search Grouping: random testing
Date Sun, 14 Nov 2010 22:45:13 GMT

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

Yonik Seeley commented on SOLR-2236:
------------------------------------

Looks like something is sometimes wrong when the sort != group.sort
Notice that the sort of groups is foo_i asc, and it looks like the model is sorted correctly
- 2 before 8, but the first group return by solr is 8.

{noformat}
GROUPING MISMATCH: mismatch: 'PF'!='SJ' @ grouped/foo_i/groups/[0]/doclist/docs/[0]/id
	request=LocalSolrQueryRequest{sort=foo_i+asc,foo_s+desc&indent=true&start=0&q={!func}score_f&group.limit=6&group.field=foo_i&group.sort=score_f+desc,score_f+desc&group=true&group.offset=0&wt=json&rows=1}
	result={
  "responseHeader":{
    "status":0,
    "QTime":1},
  "grouped":{
    "foo_i":{
      "matches":2,
      "groups":[{
          "groupValue":8,
          "doclist":{"numFound":1,"start":0,"docs":[
              {
                "id":"SJ",
                "score_f":58.913574,
                "foo_i":8,
                "foo_s":["yj"]}]
          }}]}}}
	expected={"matches":2,"groups":[{"groupValue":2,"doclist":{"numFound":1,"start":0,"docs":[{"id":"PF","foo_s":["pa"],"foo_i":2,"score_f":1.6110222339630127}]}}]}
	sorted_model=[{groupValue=2,docs=[Doc(1):[id=PF, score_f=1.6110222, foo_i=2, foo_s=pa]]},
{groupValue=8,docs=[Doc(0):[id=SJ, score_f=58.913574, foo_i=8, foo_s=yj]]}]
NOTE: reproduce with: ant test -Dtestcase=TestGroupingSearch -Dtestmethod=testRandomGrouping
-Dtests.seed=-3726554044375425597:2426462149261312537
{noformat}

> Search Grouping: random testing
> -------------------------------
>
>                 Key: SOLR-2236
>                 URL: https://issues.apache.org/jira/browse/SOLR-2236
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>         Attachments: SOLR-2236.patch
>
>


-- 
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message