I am making a REST api call something like...

http://localhost:8600/v1/search?q=p0301&;.....

I am passing the options as a huge strucured query. The result shows me
total=9 and actual results returned are only 7.

<search:response xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns=""
xmlns:search="http://marklogic.com/appservices/search"; snippet-format="
my-snippet" total="9" start="1" page-length="20">


Whereas when i pass in the same structured query in search:resolve with the
same query parameters i see total=7 and the actual result count is also 7
and the results match as the ones in the REST api...

<search:response snippet-format="my-snippet" total="7" start="1"
page-length="10" xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns=""
xmlns:search="http://marklogic.com/appservices/search";>


What is causing the REST api to give me a false total number ?


Thanks,
Girish Kulkarni
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to