Hi Tuhin

Answers inline below

> 5. Does OAK provide multiple workspaces in one repository ?

No, workspace management is currently not supported in Oak [0].

> I have couple of queries on this migration :
>
> 1. *Oak does not index as much content by default as does Jackrabbit 2.
> Custom indexes need to be created when necessary, much like in traditional
> RDBMSs. If there is no index for a specific query then the repository will
> be traversed. The query will still work but probably will be very slow. *
> *---> How do I address this?*

see http://jackrabbit.apache.org/oak/docs/query/query-troubleshooting.html

> *2. **Sessions in JR always reflects the latest state of the repository,
> whereas sessions in Oak reflects the state of the repository at the time of
> session acquisition.*
> ---> *How do we address this issue ? I mean let's say I have a
> requirement where I have to get latest state from session.*

Session.refresh is what you are looking for.

> 3. *I have to tag some document / artifacts is it possible in OAK ?*

That's for sure possible... likely the same way as you did it in Jackrabbit 
2.x. The node types defined by JSR 283 are still available. In addition Oak 
comes with some improved variants like oak:Resource and oak:Unstructured. The 
details on how to do this depend mainly on the nature of the node types of your 
documents. Lacking insight on your existing/envisioned content structure, I 
would suggest to create a mixin type that you attach to the documents and then 
collect the tags therein. This would make it easier later on to identify these 
nodes/properties as additional tagging information associated with the doc.

> 4. *Security: Does OAK has out of the box token based authentication &
> authorization ?*

Oak has token based authentication very similar to the one present in 
Jackrabbit 2.x [1]. The default authorization has a few differences compared to 
Jackrabbit 2.x [2] but was built to be compatible whenever possible. 

Hope that helps
Angela

[0[ http://jackrabbit.apache.org/oak/docs/differences.html
[1] 
http://jackrabbit.apache.org/oak/docs/security/authentication/tokenmanagement.html
[2] http://jackrabbit.apache.org/oak/docs/security/permission/differences.html

Reply via email to