Hi Carlos, On Tue, 2020-01-21 at 22:31 -0500, Carlos Munoz wrote: > Hi, > > My team is using Sling for an internal application and we've run into > a > couple of unexpected scenarios: > > 1. When modifying the nodetypes.cnd file included with our bundle > (e.g. > adding a new node type), the application queries seem to stop > working. This > only happens when the queries use the following form: "select * from > [custom:type] ..." and not when using something like "select * from > [nt:base] where [jcr:primaryType] = 'custom:type'" > > 2. There is a specific query which runs very slowly only the first > time it > is executed. Once it is executed that one time it runs considerably > faster > on subsequent runs.
These both look like Jackrabbit/Oak issues, so first let me ask you which version of Jackrabbit/Jackrabbit Oak are you using? Thanks, Robert > > I was wondering if the Sling community would be able to shed some > light on > some possible causes to these two scenarios. > > Thanks in advance!