[Groonga-commit] droonga/droonga.org at 58f48ea [gh-pages] Fix wrong query

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 28 12:53:57 JST 2014


Kouhei Sutou	2014-02-28 12:53:57 +0900 (Fri, 28 Feb 2014)

  New Revision: 58f48ea33e63fda5427ef6c2403cda445aae5a78
  https://github.com/droonga/droonga.org/commit/58f48ea33e63fda5427ef6c2403cda445aae5a78

  Message:
    Fix wrong query
    
    * JSON is invalid
    * "type" is missing
    * "body" is missing

  Modified files:
    _po/ja/tutorial/basic/index.po
    ja/tutorial/basic/index.md
    tutorial/basic/index.md

  Modified: _po/ja/tutorial/basic/index.po (+17 -14)
===================================================================
--- _po/ja/tutorial/basic/index.po    2014-02-28 12:44:38 +0900 (b215302)
+++ _po/ja/tutorial/basic/index.po    2014-02-28 12:53:57 +0900 (4c03726)
@@ -1229,20 +1229,23 @@ msgstr ""
 msgid ""
 "~~~\n"
 "{\n"
-"  \"dataset\": \"Starbucks\"\n"
-"  \"queries\": {\n"
-"    \"stores\": {\n"
-"      \"source\": \"Store\",\n"
-"      \"output\": {\n"
-"        \"elements\": [\n"
-"          \"startTime\",\n"
-"          \"elapsedTime\",\n"
-"          \"count\",\n"
-"          \"attributes\",\n"
-"          \"records\"\n"
-"        ],\n"
-"        \"attributes\": [\"_key\"],\n"
-"        \"limit\": -1\n"
+"  \"dataset\": \"Starbucks\",\n"
+"  \"type\": \"search\",\n"
+"  \"body\": {\n"
+"    \"queries\": {\n"
+"      \"stores\": {\n"
+"        \"source\": \"Store\",\n"
+"        \"output\": {\n"
+"          \"elements\": [\n"
+"            \"startTime\",\n"
+"            \"elapsedTime\",\n"
+"            \"count\",\n"
+"            \"attributes\",\n"
+"            \"records\"\n"
+"          ],\n"
+"          \"attributes\": [\"_key\"],\n"
+"          \"limit\": -1\n"
+"        }\n"
 "      }\n"
 "    }\n"
 "  }\n"

  Modified: ja/tutorial/basic/index.md (+17 -14)
===================================================================
--- ja/tutorial/basic/index.md    2014-02-28 12:44:38 +0900 (f1e6506)
+++ ja/tutorial/basic/index.md    2014-02-28 12:53:57 +0900 (550d4a2)
@@ -1055,20 +1055,23 @@ search-all-stores.json:
 
 ~~~
 {
-  "dataset": "Starbucks"
-  "queries": {
-    "stores": {
-      "source": "Store",
-      "output": {
-        "elements": [
-          "startTime",
-          "elapsedTime",
-          "count",
-          "attributes",
-          "records"
-        ],
-        "attributes": ["_key"],
-        "limit": -1
+  "dataset": "Starbucks",
+  "type": "search",
+  "body": {
+    "queries": {
+      "stores": {
+        "source": "Store",
+        "output": {
+          "elements": [
+            "startTime",
+            "elapsedTime",
+            "count",
+            "attributes",
+            "records"
+          ],
+          "attributes": ["_key"],
+          "limit": -1
+        }
       }
     }
   }

  Modified: tutorial/basic/index.md (+17 -14)
===================================================================
--- tutorial/basic/index.md    2014-02-28 12:44:38 +0900 (3f2cb7b)
+++ tutorial/basic/index.md    2014-02-28 12:53:57 +0900 (9a76877)
@@ -1047,20 +1047,23 @@ search-all-stores.json:
 
 ~~~
 {
-  "dataset": "Starbucks"
-  "queries": {
-    "stores": {
-      "source": "Store",
-      "output": {
-        "elements": [
-          "startTime",
-          "elapsedTime",
-          "count",
-          "attributes",
-          "records"
-        ],
-        "attributes": ["_key"],
-        "limit": -1
+  "dataset": "Starbucks",
+  "type": "search",
+  "body": {
+    "queries": {
+      "stores": {
+        "source": "Store",
+        "output": {
+          "elements": [
+            "startTime",
+            "elapsedTime",
+            "count",
+            "attributes",
+            "records"
+          ],
+          "attributes": ["_key"],
+          "limit": -1
+        }
       }
     }
   }
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index