Document Elasticsearch
Avance Bases de donnees
Un document indexe Elasticsearch avec champs _index, _id, _score et _source. Un exemple realiste pour votre projet ou vos tests.
{
"_index": "products",
"_id": "prod_5a8x2k",
"_score": 1.5,
"_source": {
"name": "Wireless Headphones",
"description": "Premium noise-cancelling headphones with 30-hour battery life.",
"price": 299.99,
"category": "electronics",
"tags": ["wireless", "bluetooth", "noise-cancelling"],
"rating": { "value": 4.7, "count": 328 },
"inStock": true,
"createdAt": "2026-01-15T10:00:00Z"
}
} Ouvrir dans l'outil
Outils associes
- elasticsearch
- search
- index