Sha256: c2acf604b3e2606e29948e0a14c43c83f4b2325fad80f3da57be14b36628e8a3
Contents?: true
Size: 928 Bytes
Versions: 2
Compression:
Stored size: 928 Bytes
Contents
#!/bin/sh SERVICE_NAME='yoichikademo' API_KEY='9E55964F8254BBXX04D53F66A39AF5EB' URL="https://${SERVICE_NAME}.search.windows.net/indexes?api-version=2015-02-28" curl -s\ -H "Content-Type: application/json"\ -H "api-key: ${API_KEY}"\ -XPOST $URL -d'{ "name": "sampleindex01", "fields": [ { "name":"id", "type":"Edm.String", "key": true, "searchable": false, "filterable":true, "facetable":false }, { "name":"title", "type":"Edm.String", "searchable": true, "filterable":true, "sortable":true, "facetable":false, "analyzer":"en.microsoft" }, { "name":"speakers", "type":"Edm.String", "searchable": false }, { "name":"url", "type":"Edm.String", "searchable": false, "filterable":false, "sortable":false, "facetable":false }, { "name":"text", "type":"Edm.String", "searchable": true, "filterable":false, "sortable":false, "facetable":false, "analyzer":"en.microsoft" } ] }'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
embulk-output-azuresearch-0.1.1 | samples/create_sample_index.sh |
embulk-output-azuresearch-0.1.0 | samples/create_sample_index.sh |