Hey Michael,
Cool, thanks!
I haven't used the internals of Oak itself yet, so I will have to do some
initial knowledge gathering on how to get a record id of a specific jcr Node,
but I guess that won't be the hardest work.
Thanks,
Roy
> On 7 Mar 2018, at 15:47, Michael Dürig
Hi,
I just came across the
org.apache.jackrabbit.oak.segment.RecordUsageAnalyser class in Oak,
which I completely forgot about before. I think you can use that one to
parse nodes and have it list some statistics about them. Alternatively
you should be able to relatively easy come up with your own
Hi,
I think you could do the same via a Groovy script. Depending on how
deep you want to dig into the lower layers you would need to hack your
way through though. The tooling I started building aims to simplify
this (but didn't fully succeed at it yet).
Michael
On 6 March 2018 at 22:06, Roy
Hey Michael,
Thanks for the info! I will have a look if I can still run the script on an
oak 1.6.6, who knows :).
Can you tell me what the difference would be in making a groovy script and
running it in oak-run? Are there things you can't do in there that you can in
the scala ammonite shell
Hi,
Unfortunately there is no good tooling at this point in time.
In the past I hacked something together, which might serve as a
starting point: https://github.com/mduerig/script-oak. This tooling
allows you to fire arbitrary queries at the segment store from the
Ammonite shell (a Scala REPL).