How to use from and size in search api?


(Yaswanth ) #1

Hi everyone,
What is the correct syntax of using from and size in search api not using body?
When i am using this syntax it is showing error..
syntax: http://localhost:9200/teststats/_search?from=1,size=3

Can anyone help me in sorting this?


(Yaswanth ) #2

i got it
This is the syntax:
http://localhost:9200/teststats/_search?from=1&size=3


(Ravi Shanker Reddy) #3

Please take care of this from and size. It will affect your heap very lot when you have high data.


(Yaswanth ) #4

Instead of from and size, what i have to use?


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.