That sounds like a bug to me. Would love to hear Thomas Mueller's thoughts too though.
--Vikas (sent from mobile) On Fri 22 Mar, 2019, 17:26 Piotr Tajduś, <piotr_taj...@skg.pl> wrote: > Hi, > > Not sure if this is a bug, but when query with OR is divided into union > of queries, options (like index tag) are not passed into subqueries. I > have fixed it in my copy of sources in > org.apache.jackrabbit.oak.query.QueryImpl.copyOf() by copying options too. > > > Best regards, > > Piotr Tajduś > > >