-
Notifications
You must be signed in to change notification settings - Fork 47
Description
For quite a few major releases, Solr allows you to specify in which format you want to receive the results.
collective.solr
always asks for XML
and it has a quite involved parser.
At work we noticed that we get notifications of slow Solr requests, and actually looking into it, is not that Solr (the server) is slow on sending the response, but rather that collective.solr
takes quite some time to process the received XML
response, and the notification that we get is fired after the response is processed.
Getting JSON
responses might be much more straightforward to process or even the python
format, that returns a dictionary-like. Most probably the JSON
version is faster to parse, we should get numbers... 🤷🏾
Would it be an option to either change it completely, or allow to specify/configure in which format one wants to get the responses?