• No replies
40 Posts

Pinned topic How to best get the object store a document is in with a query

‏2012-07-03T18:43:42Z |
I am performing a query across multiple object stores via the set search scope functionality, but i'm not seeing an easy way to get info about what object store the document was found in. I just want the info for reporting purposes, i don't need to modify the object in any way. I was hoping there was a property on the document that i could add to the select clause in order to include the data i need, but i don't see such a property. Currently i have to iterate over the results and call the getObjectStore() method, which seems expensive to me.

Is there a good efficient way to figure out what object store the document was in?

I am Just a new Boy,
A Stranger in this Town,
Where are All the Good Times,
Who's Gonna Show this Stranger Around?
Check out our Agile ACM Catalogue: Widgets, APIs, & Components for Building Solutions