lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (SOLR-2048) response testing with JSON
Date Mon, 16 Aug 2010 14:46:16 GMT


Yonik Seeley commented on SOLR-2048:

The test strings currently consist of path:expected_JSON  (the path is where to start in the
input to do comparisons with the expected JSON).

    assertJQ(req("fq","filt",  "q","{!func}"+f2, "group","true", "group.field",f, "fl","id")
      ,"/responseHeader/status:0"                         // exact match
      ,"/responseHeader:{'_SKIP_':'QTime', 'status':0}"   // partial match by skipping some
      ,"/responseHeader:{'_MATCH_':'status', 'status':0}" // partial match by only including
some elements
      ,"/grouped:{'foo_i':{ 'groups':[{'groupValue':1, 'matches':3," + ...

> response testing with JSON
> --------------------------
>                 Key: SOLR-2048
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>         Attachments: SOLR-2048.patch
> Use JSON to test for complete matches of complex hierarchies (rather than the element-by-element
approach we need to use with xpath).

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:
For additional commands, e-mail:

View raw message