Hi,
I have tried to run the following command to create a dataset using the beer-sample:
CREATE DATASET beerSample_Geo ON beer-sample
WHERE geo.accuracy
= “ROOFTOP”;
The command was run successfully and I have also run “CONNECT LINK Local;” command successfully. However, when I run the following:
/////////
SELECT VALUE count(*) FROM beerSample_Geo;
///////
0 is returned for the count, that means, the dataset beerSample_Geo does not contain any documents. However, the beer-sample bucket does contain document like the following:
/////////////
{
“address”: [
“407 Radam, F200”
],
“city”: “Austin”,
“code”: “78745”,
“country”: “United States”,
“description”: “(512) Brewing Company is a microbrewery located in the heart of Austin that brews for the community using as many local, domestic and organic ingredients as possible.”,
“geo”: {
“accuracy”: “ROOFTOP”,
“lat”: 30.2234,
“lon”: -97.7697
},
“name”: “(512) Brewing Company”,
“phone”: “512.707.2337”,
“state”: “Texas”,
“type”: “brewery”,
“updated”: “2010-07-22 20:00:20”,
“website”: “http://512brewing.com/”
}
////////////////
Do you know what may cause the problem? Does the “CREATE DATASET” command have problem with the specified field geo.accuracy
?