I'm not sure what you mean by "read the index". The repository consists of nodes. The indexes just aid in searching, but you don't need to read the index itself directly AFAIK. So it's all about the ownership on the node you are trying to read. You must be using a session that is logged into by a user who had read (and/or write) privileges on the node you are trying to read. Are you getting an exception? Send us the stack trace if so. If not, what method specifically are you calling that's giving unexpected results?
Best regards, Clay Ferguson [email protected] On Wed, Oct 5, 2016 at 3:11 AM, rachna <[email protected]> wrote: > Hi, we have built a custom index type and created jackrabbit oak index > using > this type, index gets populated with the correct data but now when I try to > read it using standard jcr nodes, it's not allowing me to read hidden > nodes. > I think I need to use NodeState and NodeBuilder classes to read this index, > but struggling to get root object on oak:index node. Does anyone know how > can I do that? > > Thanks > > > > -- > View this message in context: http://jackrabbit.510166.n4. > nabble.com/Custom-index-type-tp4665031.html > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. >
