Quoting Raj Kumar <[EMAIL PROTECTED]>:
> hi remy,
> In my implementation of the indexstore interface i need to be able
> to
> access the revision descriptor
> store in order to obtain the latest version of the resource.In order
> to
> access the store of a particular resource i need a reference to the Uri
> class which has the getStore() method defined in it.How can i get a
> reference to the Uri object in the index store implementation or is
> there an
> other way to implement this.The problem i am having is that the
> ObjectNode
> class does not have a method to access its Uri object.
I'm not sure I understand.
The index store methods (org.apache.slide.store.IndexStore) have uri objects as
a parameter, and should generally act dumb (like, index what it is asked to
index, and don't try to index anything else, and drop something from the index
when it's asked to).
If you believe it's needed you can access the namespace and then retrieve other
Uris / access other stores using the uri object you get as a parameter.
I'll start hooking the store and the search helper with the rest of the core
soon.
Remy