You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2010/11/13 00:04:13 UTC
[jira] Created: (SOLR-2236) Search Grouping: random testing
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
--
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
[jira] Updated: (SOLR-2236) Search Grouping: random testing
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-2236:
-------------------------------
Attachment: SOLR-2236.patch
Here is a snapshot of the work in progress.
The goal of this is to model a collection of documents outside of lucene/solr, implement grouping on the model, and then compare the result to a real grouped result from solr.
> 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
[jira] Commented: (SOLR-2236) Search Grouping: random testing
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (SOLR-2236) Search Grouping: random testing
Posted by "Yonik Seeley (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley resolved SOLR-2236.
--------------------------------
Resolution: Fixed
Closing. The test bug above was fixed long ago (IIRC it was caused by lucene now reordering ids because of the new merge policy).
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (SOLR-2236) Search Grouping: random testing
Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931882#action_12931882 ]
Yonik Seeley commented on SOLR-2236:
------------------------------------
I just committed some of the generic testing capabilities separately so that they may be more easily merged back to 3x
> 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