I'm using ela 2.0.0-rc1.
When I try to use the search query, to retrieve documents, elasticsearch will return
{
"_index": "myindex",
"_type": "_all",
"_id": "_search'",
"found": false
}
This is how I add the document
PUT myindex/game/3
{
"title":"Super Mario 3D World",
"publisher":"Nintendo",
"developer":"Nintendo",
"publishDate":"20132911"
}
GET lpc/game/3
{
"_index": "myindex",
"_type": "game",
"_id": "3",
"_version": 2,
"found": true,
"_source": {
"title": "Super Mario 3D World",
"publisher": "Nintendo",
"developer": "Nintendo",
"publishDate": "20132911"
}
}
My search:
GET /myindex/_all/_search'?q=publisher:Nintendo'
{
"_index": "lpc",
"_type": "_all",
"_id": "_search'",
"found": false
}
Whats wrong with my search? This also returns an empty result, when I replace _all by game