我编写了一个客户端服务器应用程序。我已经在服务器上设置了一个弹性搜索服务。客户端(iOS应用程序)从elastic-search服务查询信息。我有两个选择:
1. put the elastic-search behind a nginx server(as proxy server).
2. write an app running on the middle-ware to wrap the elastic-search APIs(only
certain APIs that will be queried by the client).
对于选项1,所有的elastic-sea