Open sv3k opened 10 years ago
According to documentation, ES supports retrieving all stored fields in search results using "*", so this request should work:
curl -XPOST 'localhost:9200/test/test/_export' -d '{ "query" : { "match_phrase" : { "key" : "value 1" } }, "fields" : [ "*" ] }'
But it doesn't, seems like because knapsack is using GET API which actually doesn't support this feature. We can probably switch to using POST API in order to support this, what do you think?
According to documentation, ES supports retrieving all stored fields in search results using "*", so this request should work:
But it doesn't, seems like because knapsack is using GET API which actually doesn't support this feature. We can probably switch to using POST API in order to support this, what do you think?