1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
Hi, can you please confirm the version of the Opensearch and maybe an example of data and the query?
I've tried the below using Opensearch 1.3 and it seems to be working as expected...
PUT testindex1
{
"mappings": {
"properties": {
"point": {
"type": "geo_point"
}
}
}
}
PUT testindex1/_doc/1
{
"point": {
"lat": 40.71,
"lon": 74.00
}
}
PUT testindex1/_doc/2
{
"point": "txhxegj0uyp3"
}
GET testindex1/_search
{
"query": {
"geo_bounding_box": {
"point": {
"top_left": {
"lat": 42,
"lon": -72
},
"bottom_right": {
"lat": 40,
"lon": -74
}
}
}
}
}
respondido há 3 anos
Conteúdo relevante
- feita há 25 dias
- feita há 23 dias
- feita há 3 meses
- feita há um mês
- AWS OFICIALAtualizada há 4 anos
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 4 anos