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:13:19 +0000 (18:13 -0400)
commitca021fac379e8141f18faa3ec22c28899c268df7
tree0c48ef5da7bff392d15c66ebd9ae89a6e5d7197d
parent425bf4a9a6b0134abd54dc0e8e1f5bef0a51efc5
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