Stream facet data user/miker/stream-facet-data
authorMike Rylander <mrylander@gmail.com>
Wed, 28 Aug 2013 19:05:36 +0000 (15:05 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 28 Aug 2013 19:05:36 +0000 (15:05 -0400)
commitd616a6f8bb4f0a1c2d24133f43a781ac090ffe66
treef83ef8d285d00b78186de2277eb0e1dca3accd0b
parent4b1ef525740b371e1aa5b273d6a3f2fccc0a6534
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm