- 4761 g
- 4719 c
- 4723 ab
- 4723 f
- 4713 c
- 4733 b
- 4757 b
- 8115 a
- 4713 d
- 4725 a1
- Child care service failed to arrange/conduct criminal/SCR background clearance checks for required individuals failed to re-clear required individuals with the SCR every two years
- At time of inspection it was determined that child care service allows staff to perform their duties that are not healthy or are incapable of carrying out their duties Staff medical clearances are not maintained by child care service
- At time of inspection it was determined that child care service failed to ensure staff received required training within time frames and/or failed to maintain training records
- The owner or agent tenant or manager fails to maintain building in safe manner Structural integrety not maintained Building not free of pests Adequate heat ventilation and lighting not provided Not free of nuisances/hazards
- Emergency lighting in halls stairs not provided where required
- Camp equipment not maintained not of safe design or properly installed
- Food service area in child care service not free
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
# get the number of distinct category values in the index | |
curl -XGET "http://localhost:9200/pelias/_search?search_type=count" -d' | |
{ | |
"aggs": { | |
"categories": { | |
"cardinality": { | |
"field": "category" | |
} | |
} | |
} |
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
{ | |
"took":344, | |
"timed_out":false, | |
"_shards":{ | |
"total":40, | |
"successful":40, | |
"failed":0 | |
}, | |
"hits":{ | |
"total":165113284, |
http://pelias.stage.mapzen.com/search?input=3107%20Hyde,%20Oakland
These are the actual results from ES for the query -
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
curl -XPUT localhost:9200/_template/marvel_custom -d ' | |
{ | |
"order" : 1, | |
"template" : ".marvel*", | |
"settings" : { | |
"number_of_replicas" : 0 | |
} | |
}' |
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
for shard in $(curl -XGET http://localhost:9200/_cat/shards | grep UNASSIGNED | awk '{print $2}'); do | |
curl -XPOST 'localhost:9200/_cluster/reroute' -d '{ | |
"commands" : [ { | |
"allocate" : { | |
"index" : "pelias", | |
"shard" : $shard, | |
"node" : "pelias-1", | |
"allow_primary" : true | |
} | |
} |
mkdir pelias
git clone [email protected]:pelias/schema.git
npm install
(if you used homebrew to install elasticsearch it should be /usr/local/Cellar/elasticsearch
)
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
#!/usr/bin/env ruby | |
require 'json' | |
require 'net/http' | |
require 'nokogiri' | |
json = File.read('citibike_in.geojson') | |
data = JSON.parse(json) | |
out = data |