Use the transport's defer method within the client_action to ensure we use the configured promises everywhere. Allow search requests to be made without any arguments.

This commit is contained in:
Spencer Alger
2014-02-14 15:57:39 -07:00
parent 5a2c898c89
commit 76b69b7a9e
5 changed files with 22 additions and 5 deletions

View File

@ -56,8 +56,5 @@ module.exports = {
'/{index}/_stats/indexing',
'/{index}/_stats/search/{search_groups}',
'/{index}/_stats/fielddata/{fields}'
],
'search': [
'/_search'
]
};