If the root of the document is unique, then you can search the whole collection
using an xpath query with "/documenttag". This will bring back all of them
that
match. If you know an attribute of the root tag, then you can search on that
also. If you know the key, you can do a direct read using getResource("key").
HTH,
Mark
Mike Gratton wrote:
> Jayaram Narayana wrote:
> >
> > i am wondering how to use the xindice api to query a collection at the
> > *document* level. i am not able to figure this out by reading the api. could
> > anyone help me here please?
> >
>
> Using XPathQueryService.queryResource(String id, String query), where
> 'id' is the id of the document you want to query.
>
> HTH.
> Mike.
>
> --
> Mike Gratton <[EMAIL PROTECTED]>, <http://web.vee.net/>
> "Every motive escalate."