How to use from and size in search api?

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?

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

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

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

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