you can add the 'name' parameter

params.put(RPCDefaultMessage.NAME, "name of the file");

in fact, when I dont specify 'name', I get a complaint, so I'm unable to query an entire collection so far.

/tycho


Is there a way with Xindice to execute a XPath query against only one document instead of the whole collection ?

The only solution I found was to add the document id
inside the document and execute a query on the element
I really cared about like :

/db/root/id[.=12]/../customer/name

But that's not so clean.

Thanks, Matt.

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail




Reply via email to