docker-compose up --build
docker-compose up --build -d 在背景跑
curl -X POST "localhost:9200/law_test_data/_bulk" -H 'Content-Type: application/json' --data-binary @law_test.json
curl -X GET "localhost:9200/law_test_data/_search" -H 'Content-Type: application/json' -d '{
"query": {
"match": {
"content": "繼承人"
}
}
}'
Service | Port |
---|---|
Elasticsearch | 9200 |
Kibana | 5601 |
Web | 8080 |