[Groonga-commit] groonga/groonga at 46c77e6 [master] doc: use example data in U.S.

Zurück zum Archiv-Index

HAYASHI Kentaro null+****@clear*****
Mon Sep 22 15:46:30 JST 2014


HAYASHI Kentaro	2014-09-22 15:46:30 +0900 (Mon, 22 Sep 2014)

  New Revision: 46c77e64355d566125d620daca64b6f6109375e8
  https://github.com/groonga/groonga/commit/46c77e64355d566125d620daca64b6f6109375e8

  Message:
    doc: use example data in U.S.

  Modified files:
    doc/source/tutorial/micro_blog.rst

  Modified: doc/source/tutorial/micro_blog.rst (+49 -49)
===================================================================
--- doc/source/tutorial/micro_blog.rst    2014-09-22 14:38:13 +0900 (0e653df)
+++ doc/source/tutorial/micro_blog.rst    2014-09-22 15:46:30 +0900 (2c0fb6c)
@@ -162,30 +162,30 @@ Then, load example data.
  load --table Users
  [
    {
-     "_key": "daijiro",
-     "name": "hsiomaneki",
-     "follower": ["tasukuchan"],
+     "_key": "alice",
+     "name": "Alice",
+     "follower": ["bob"],
      "favorites": [],
-     "location": "127678039x502643091",
-     "location_str": "Kanagawa prefecture",
+     "location": "152489000x-255829000",
+     "location_str": "Boston, Massachusetts",
      "description": "Groonga developer"
    },
    {
-     "_key": "tasukuchan",
-     "name": "Gunyara-kun",
-     "follower": ["daijiro","OffGao"],
-     "favorites": ["daijiro:1","OffGao:1"],
-     "location": "128423343x502929252",
-     "location_str": "Shibuya, Tokyo",
-     "description": "Gentlemen"
+     "_key": "bob",
+     "name": "Bob",
+     "follower": ["alice","charlie"],
+     "favorites": ["alice:1","charlie:1"],
+     "location": "146249000x-266228000",
+     "location_str": "Brooklyn, New York City",
+     "description": ""
    },
    {
-     "_key": "OffGao",
-     "name": "OffGao",
-     "follower": ["tasukuchan","daijiro"],
-     "favorites": ["tasukuchan:1","daijiro:1"],
-     "location": "128544408x502801502",
-     "location_str": "Nakano, Tokyo prefecture",
+     "_key": "charlie",
+     "name": "Charlie",
+     "follower": ["alice","bob"],
+     "favorites": ["alice:1","bob:1"],
+     "location": "146607190x-267021260",
+     "location_str": "Newark, New Jersey",
      "description": "Hmm,Hmm"
    }
  ]
@@ -193,63 +193,63 @@ Then, load example data.
  load --table Comments
  [
    {
-     "_key": "daijiro:1",
+     "_key": "alice:1",
      "comment": "I've created micro-blog!",
      "last_modified": "2010/03/17 12:05:00",
-     "posted_by": "daijiro",
+     "posted_by": "alice",
    },
    {
-     "_key": "tasukuchan:1",
+     "_key": "bob:1",
      "comment": "First post. test,test...",
      "last_modified": "2010/03/17 12:00:00",
-     "posted_by": "tasukuchan",
+     "posted_by": "bob",
    },
    {
-     "_key": "daijiro:2",
-     "comment": "@tasukuchan Welcome!!!",
+     "_key": "alice:2",
+     "comment": "@bob Welcome!!!",
      "last_modified": "2010/03/17 12:05:00",
-     "replied_to": "tasukuchan:1",
-     "replied_users": ["tasukuchan"],
-     "posted_by": "daijiro",
+     "replied_to": "bob:1",
+     "replied_users": ["bob"],
+     "posted_by": "alice",
    },
    {
-     "_key": "tasukuchan:2",
-     "comment": "@daijiro Thanks!",
+     "_key": "bob:2",
+     "comment": "@alice Thanks!",
      "last_modified": "2010/03/17 13:00:00",
-     "replied_to": "daijiro:2",
-     "replied_users": ["daijiro"],
-     "posted_by": "tasukuchan",
+     "replied_to": "alice:2",
+     "replied_users": ["alice"],
+     "posted_by": "bob",
    },
    {
-     "_key": "tasukuchan:3",
-     "comment": "Groonga Now! #groonga",
+     "_key": "bob:3",
+     "comment": "I've just used 'Try-Groonga' now! #groonga",
      "last_modified": "2010/03/17 14:00:00",
      "hash_tags": ["groonga"],
-     "location": "127972422x503117107",
-     "posted_by": "tasukuchan",
+     "location": "146566000x-266422000",
+     "posted_by": "bob",
    },
    {
-     "_key": "tasukuchan:4",
-     "comment": "I'm come at Haneda Airport for development camp! #groonga #travel",
+     "_key": "bob:4",
+     "comment": "I'm come at city of New York for development camp! #groonga #travel",
      "last_modified": "2010/03/17 14:05:00",
      "hash_tags": ["groonga", "travel"],
-     "location": "127975798x502919856",
-     "posted_by": "tasukuchan",
+     "location": "146566000x-266422000",
+     "posted_by": "bob",
    },
    {
-     "_key": "OffGao:1",
-     "comment": "@daijiro @tasukuchan I've tried to register!",
+     "_key": "charlie:1",
+     "comment": "@alice @bob I've tried to register!",
      "last_modified": "2010/03/17 15:00:00",
-     "replied_users": ["daijiro", "tasukuchan"],
-     "location": "128551935x502796433",
-     "posted_by": "OffGao",
+     "replied_users": ["alice", "bob"],
+     "location": "146607190x-267021260",
+     "posted_by": "charlie",
    }
    {
-     "_key": "OffGao:2",
-     "comment": "I'm at Nakano broadway now!",
+     "_key": "charlie:2",
+     "comment": "I'm at the Museum of Modern Art in NY now!",
      "last_modified": "2010/03/17 15:05:00",
-     "location": "128551935x502796434",
-     "posted_by": "OffGao",
+     "location": "146741340x-266319590",
+     "posted_by": "charlie",
    }
  ]
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index