如何在弹性搜索URI中附加多个标准?
我没有发送身体请求的可能性,因此我必须在主URI中加以串通。现在,我有类似的东西:服务器:端口/索引/_Search?size = 10,对于大小为10的分页,我还需要添加“来自”标准,但是我没有尝试过的工作:/或。
I don't have the possibility of sending a body request, so I have to concatenate the criteria in the main URI. Right now I have something like: server:port/index/_search?size=10, for a pagination with the size of 10, I need to add the "from" criteria also, but nothing I've tried works: / or , .
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正确格式将为
http:// localhost:9200/< your-index>/_search?from = 10& size = 20
,您需要在
&
的分离。Correct format would be
http://localhost:9200/<your-index>/_search?from=10&size=20
,You need to add
size
with the separation of&
.