mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-10-31 23:45:54 +00:00
6 lines
306 B
Bash
Executable file
6 lines
306 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# create indicies named "nyaa" and "sukebei", these are hardcoded
|
|
curl -v -XPUT 'localhost:9200/nyaa?pretty' -H"Content-Type: application/yaml" --data-binary @es_mapping.yml
|
|
curl -v -XPUT 'localhost:9200/sukebei?pretty' -H"Content-Type: application/yaml" --data-binary @es_mapping.yml
|