Set size to get all document data


(harshyadav) #1

I am new in elasticsearch , size parameter by default give only 10
records.To get more record i have give value to size parameter.
I want that only single time set size parameter and it give you all
document in single request.
Please help me.
Regards:
Harry


(David Pilato) #2

Hi,

What about :
http://www.elasticsearch.org/guide/reference/api/search/search-type.html ?
Look at Scan at the bottom.

HTH
David.

-----Message d'origine-----
De : elasticsearch@googlegroups.com [mailto:elasticsearch@googlegroups.com]
De la part de harry
Envoyé : lundi 19 septembre 2011 13:09
À : elasticsearch
Cc : harsh.mca9@gmail.com
Objet : Set size to get all document data

I am new in elasticsearch , size parameter by default give only 10
records.To get more record i have give value to size parameter.
I want that only single time set size parameter and it give you all
document in single request.
Please help me.
Regards:
Harry


(system) #3