Last active
November 15, 2015 12:17
-
-
Save KitaitiMakoto/1b384937cc03980ef125 to your computer and use it in GitHub Desktop.
Test data for Droonga plugin tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"effectiveDate": "2013-09-01T00:00:00Z", | |
"datasets": { | |
"Default": { | |
"nWorkers": 4, | |
"plugins": ["groonga", "crud", "search", "dump", "status"], | |
"schema": { | |
"Store": { | |
"type": "Hash", | |
"keyType": "ShortText", | |
"columns": { | |
"location": { | |
"type": "Scalar", | |
"valueType": "WGS84GeoPoint" | |
} | |
} | |
}, | |
"Location": { | |
"type": "PatriciaTrie", | |
"keyType": "WGS84GeoPoint", | |
"columns": { | |
"store": { | |
"type": "Index", | |
"valueType": "Store", | |
"indexOptions": { | |
"sources": ["location"] | |
} | |
} | |
} | |
}, | |
"Term": { | |
"type": "PatriciaTrie", | |
"keyType": "ShortText", | |
"normalizer": "NormalizerAuto", | |
"tokenizer": "TokenBigram", | |
"columns": { | |
"stores__key": { | |
"type": "Index", | |
"valueType": "Store", | |
"indexOptions": { | |
"position": true, | |
"sources": ["_key"] | |
} | |
} | |
} | |
} | |
}, | |
"replicas": [ | |
{ | |
"dimension": "_key", | |
"slicer": "hash", | |
"slices": [ | |
{ | |
"volume": { | |
"address": "192.168.100.50:10031/droonga.000" | |
} | |
}, | |
{ | |
"volume": { | |
"address": "192.168.100.50:10031/droonga.001" | |
} | |
}, | |
{ | |
"volume": { | |
"address": "192.168.100.50:10031/droonga.002" | |
} | |
} | |
] | |
}, | |
{ | |
"dimension": "_key", | |
"slicer": "hash", | |
"slices": [ | |
{ | |
"volume": { | |
"address": "192.168.100.50:10031/droonga.010" | |
} | |
}, | |
{ | |
"volume": { | |
"address": "192.168.100.50:10031/droonga.011" | |
} | |
}, | |
{ | |
"volume": { | |
"address": "192.168.100.50:10031/droonga.012" | |
} | |
} | |
] | |
} | |
] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dataset": "Default", | |
"type": "search", | |
"body": { | |
"queries": { | |
"stores": { | |
"source": "Store", | |
"output": { | |
"elements": [ | |
"startTime", | |
"elapsedTime", | |
"count", | |
"attributes", | |
"records" | |
], | |
"attributes": ["_key"], | |
"limit": -1 | |
} | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dataset" : "Starbucks", | |
"type" : "search", | |
"body" : { | |
"queries" : { | |
"stores" : { | |
"source" : "Store", | |
"condition" : { | |
"query" : "Columbus", | |
"matchTo" : "_key" | |
}, | |
"output" : { | |
"elements" : [ | |
"startTime", | |
"elapsedTime", | |
"count", | |
"attributes", | |
"records" | |
], | |
"attributes" : ["_key"], | |
"limit" : -1 | |
} | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dataset" : "Starbucks", | |
"type" : "storeSearch", | |
"body" : { | |
"query" : "Columbus" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "1st Avenue & 75th St. - New York NY (W)", | |
"values": { | |
"location": "40.770262,-73.954798" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "76th & Second - New York NY (W)", | |
"values": { | |
"location": "40.771056,-73.956757" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "2nd Ave. & 9th Street - New York NY", | |
"values": { | |
"location": "40.729445,-73.987471" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "15th & Third - New York NY (W)", | |
"values": { | |
"location": "40.733946,-73.9867" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "41st and Broadway - New York NY (W)", | |
"values": { | |
"location": "40.755111,-73.986225" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "84th & Third Ave - New York NY (W)", | |
"values": { | |
"location": "40.777485,-73.954979" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "150 E. 42nd Street - New York NY (W)", | |
"values": { | |
"location": "40.750784,-73.975582" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "West 43rd and Broadway - New York NY (W)", | |
"values": { | |
"location": "40.756197,-73.985624" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Macy's 35th Street Balcony - New York NY", | |
"values": { | |
"location": "40.750703,-73.989787" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Macy's 6th Floor - Herald Square - New York NY (W)", | |
"values": { | |
"location": "40.750703,-73.989787" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Herald Square- Macy's - New York NY", | |
"values": { | |
"location": "40.750703,-73.989787" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Macy's 5th Floor - Herald Square - New York NY (W)", | |
"values": { | |
"location": "40.750703,-73.989787" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "80th & York - New York NY (W)", | |
"values": { | |
"location": "40.772204,-73.949862" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Columbus @ 67th - New York NY (W)", | |
"values": { | |
"location": "40.774009,-73.981472" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "45th & Broadway - New York NY (W)", | |
"values": { | |
"location": "40.75766,-73.985719" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Marriott Marquis - Lobby - New York NY", | |
"values": { | |
"location": "40.759123,-73.984927" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Second @ 81st - New York NY (W)", | |
"values": { | |
"location": "40.77466,-73.954447" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "52nd & Seventh - New York NY (W)", | |
"values": { | |
"location": "40.761829,-73.981141" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "1585 Broadway (47th) - New York NY (W)", | |
"values": { | |
"location": "40.759806,-73.985066" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "85th & First - New York NY (W)", | |
"values": { | |
"location": "40.776101,-73.949971" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "92nd & 3rd - New York NY (W)", | |
"values": { | |
"location": "40.782606,-73.951235" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "165 Broadway - 1 Liberty - New York NY (W)", | |
"values": { | |
"location": "40.709727,-74.011395" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "1656 Broadway - New York NY (W)", | |
"values": { | |
"location": "40.762434,-73.983364" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "54th & Broadway - New York NY (W)", | |
"values": { | |
"location": "40.764275,-73.982361" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Limited Brands-NYC - New York NY", | |
"values": { | |
"location": "40.765219,-73.982025" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "19th & 8th - New York NY (W)", | |
"values": { | |
"location": "40.743218,-74.000605" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "60th & Broadway-II - New York NY (W)", | |
"values": { | |
"location": "40.769196,-73.982576" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "63rd & Broadway - New York NY (W)", | |
"values": { | |
"location": "40.771376,-73.982709" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "195 Broadway - New York NY (W)", | |
"values": { | |
"location": "40.710703,-74.009485" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "2 Broadway - New York NY (W)", | |
"values": { | |
"location": "40.704538,-74.01324" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "2 Columbus Ave. - New York NY (W)", | |
"values": { | |
"location": "40.769262,-73.984764" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "NY Plaza - New York NY (W)", | |
"values": { | |
"location": "40.702802,-74.012784" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "36th and Madison - New York NY (W)", | |
"values": { | |
"location": "40.748917,-73.982683" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "125th St. btwn Adam Clayton & FDB - New York NY", | |
"values": { | |
"location": "40.808952,-73.948229" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "70th & Broadway - New York NY (W)", | |
"values": { | |
"location": "40.777463,-73.982237" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "2138 Broadway - New York NY (W)", | |
"values": { | |
"location": "40.781078,-73.981167" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "118th & Frederick Douglas Blvd. - New York NY (W)", | |
"values": { | |
"location": "40.806176,-73.954109" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "42nd & Second - New York NY (W)", | |
"values": { | |
"location": "40.750069,-73.973393" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Broadway @ 81st - New York NY (W)", | |
"values": { | |
"location": "40.784972,-73.978987" | |
} | |
} | |
} | |
{ | |
"dataset": "Default", | |
"type": "add", | |
"body": { | |
"table": "Store", | |
"key": "Fashion Inst of Technology - New York NY", | |
"values": { | |
"location": "40.746948,-73.994557" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment