I don’t know by heart how to do this in an elastic search query but with a Catmandu fix this is pretty easy: $ bin/librecat export main --bag user to TSV --fix 'select exists(favorite_publication)' > On 28 May 2020, at 14:58, Jonathan NORRIS <jnorris at ist.ac.at> wrote: > > favorite_publication