[Groonga-commit] groonga/gcs [master] Specify domain name for DescribeIndexFields action

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 3日 (金) 15:56:09 JST


SHIMODA Hiroshi	2012-08-03 15:56:09 +0900 (Fri, 03 Aug 2012)

  New Revision: bc605d957b3203172a9293af6ef0a86362ae287c
  https://github.com/groonga/gcs/commit/bc605d957b3203172a9293af6ef0a86362ae287c

  Log:
    Specify domain name for DescribeIndexFields action

  Modified files:
    test/api-configuration.test.js

  Modified: test/api-configuration.test.js (+3 -1)
===================================================================
--- test/api-configuration.test.js    2012-08-03 15:53:57 +0900 (7ac3b0c)
+++ test/api-configuration.test.js    2012-08-03 15:56:09 +0900 (a89b6ed)
@@ -661,7 +661,8 @@ suite('Configuration API', function() {
       .get('/?DomainName=companies&IndexField.IndexFieldName=product&' +
            'IndexField.IndexFieldType=literal&' +
            'Action=DefineIndexField&Version=2011-02-01')
-      .get('/?Action=DescribeIndexFields&Version=2011-02-01', {
+      .get('/?Action=DescribeIndexFields&Version=2011-02-01' +
+             '&DomainName=companies', {
         'Host': 'cloudsearch.localhost'
       })
       .next(function(response) {
@@ -700,6 +701,7 @@ suite('Configuration API', function() {
            'IndexField.IndexFieldType=literal&' +
            'Action=DefineIndexField&Version=2011-02-01')
       .get('/?Action=DescribeIndexFields&Version=2011-02-01' +
+             '&DomainName=companies' +
              '&FieldNames.member.1=name' +
              '&FieldNames.member.2=age', {
         'Host': 'cloudsearch.localhost'
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index