Query Builder
Root predicate group.........p.guessTotal=true
if i used this in my query it is showing me
Number of hits: 158
if i used
p.limit=-1
Number of hits: 158 same
differnece is p.limit will show all results and p.guessTotal will show only 10 (default).
but in docx I have read like
p.guessTotal=true is recommended because its avoid calculating the full result total which can be costly;
but in both cases it is calculating total so how it can reduce the cost ?It is calculating in both cases but showing in one and hiding the result in another ?
Please correct me if i wrong