Added queries example files

This commit is contained in:
Porras-Bernardez 2024-05-15 13:47:22 +02:00
parent 8962345f99
commit 484be48d1e
3 changed files with 69 additions and 6 deletions

9
OpenSearch queries.txt Normal file
View file

@ -0,0 +1,9 @@
Get all documents in the index ("core" in solr)
----------------------------------------------------
curl -XGET "http://192.168.21.18/tethys-records/_search?pretty" -H 'Content-Type: application/json' -d'
{
"query": {
"match_all": {}
}
}'