Stream facet data
authorMike Rylander <mrylander@gmail.com>
Wed, 28 Aug 2013 19:05:36 +0000 (15:05 -0400)
committerDan Wells <dbw2@calvin.edu>
Mon, 16 Sep 2013 22:12:53 +0000 (18:12 -0400)
commitab44fcc4f3f23495f0c07fbadff353c7ff8b9b66
treed3597634cf79aa1d3b08134bc389c4f6a8d93954
parentfc23b4ec5c6846b0b31a25c0f708d9409d22bcb0
Stream facet data

For certain shapes of facet datasets, the .atomic version of the
json_query call can produce an XMPP message large enough to cause
ejabberd to fall over unceremoniously.  Switch to a streaming
CStoreEditor-based call instead to avoid this.

Ideally, this would use message bundling (aka, chunking) as well,
but the C parts of OpenSRF don't seem to support that yet.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm