如何从搜索结果中获取所有值 [英] How to get all the values from an search result

查看:181
本文介绍了如何从搜索结果中获取所有值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很喜欢弹性搜索。有没有办法获取搜索关键字的所有搜索结果?弹性搜索限制为10,否则我们可以设置大小,但是我们需要获取大小?

解决方案

是的,默认搜索结果的数量为10。



您需要设置大小参数查询。



我不认为你说所有结果,但总是必须有一个大小限制。


I am new to Elastic Search. Is there any way to get all the search results for a search keyword? Elastic Search is limited to 10 or else we can set the size but we need to get the size??

解决方案

Yes, the default number of search results is 10.

You need to set the size parameter on the query.

I don't think you an say "all results", though, there must always be a size limit.

这篇关于如何从搜索结果中获取所有值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆