Changing the Size of Result Sets
In this article I will show you how to change the number of documents returned in the result set. I will start by showing you how to do it with query string searches. It’s as simple as adding a size parameter as I will show you in the following query. GET /ecommerce/product/_search?q=name:pasta&size=2 Notice that I… read more