[OPEN-ILS-DEV] Evergreen 3.2.2 OSRF search returns way more data than I need
Ken Cox
kenstir at gmail.com
Wed Apr 10 18:02:23 EDT 2019
The 3.2.2 server returns a lot of additional data in the search response,
like "highlight_map". The mobile apps don't need this data, and it bloats
the response substantially. Is there a customer for this additional data,
or should I file a ticket to squelch it? Can I avoid receiving it?
Sample query against 3.0.2, response body is 2470 bytes:
https://bark.cwmars.org/osrf-gateway-v1?service=open-ils.search&method=open-ils.search.biblio.multiclass.query¶m=%7B%22offset%22:0,%22limit%22:200%7D¶m=%22title:the%20war%20on%20normal%20search_format(book)%22¶m=1
Sample query against 3.2.2, response body is 5714 bytes (+131%):
https://gapines.org/osrf-gateway-v1?service=open-ils.search&method=open-ils.search.biblio.multiclass.query¶m=%7B%22offset%22:0,%22limit%22:200%7D¶m=%22title:the%20war%20on%20normal%20search_format(book)%22¶m=1
The only thing I really need from the response is the list of ids, the
visible count, and the status; about 100 bytes.
Thanks,
Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20190410/a1f3a709/attachment-0001.html>
More information about the Open-ils-dev
mailing list