Re: Query options in queries with OR
OAK-8162 created. Best regards, Piotr Tajduś On 22.03.2019 14:38, Thomas Mueller wrote: Hi, Yes, this definitely looks like a bug... Could you file a Jira issue please? Regards, Thomas On 22.03.19, 13:12, "Vikas Saurabh" wrote: 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ś, 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ś > > >
Re: Query options in queries with OR
Hi, Yes, this definitely looks like a bug... Could you file a Jira issue please? Regards, Thomas On 22.03.19, 13:12, "Vikas Saurabh" wrote: 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ś, 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ś > > >
Re: Query options in queries with OR
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ś, 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ś > > >
Query options in queries with OR
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ś