https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/search_operations.html
Last updated 3 years ago
Xem type
curl -XGET 'http://localhost:9200/product/_doc/1?pretty'
Tìm type
curl -XPOST 'localhost:9200/product/_search?pretty' -H 'Content-Type: application/json' -d ' { "query": { "match_all": {} } }' Example: curl -XPOST 'localhost:9200/ypvn-post-1/_search?pretty' -H 'Content-Type: application/json' -d ' { "query": { "match_all": {} } }'