[MarkLogic Dev General] Another Corona Question
randy.smith at msic.dia.mil
Mon Apr 2 09:51:21 PDT 2012
Thanks for the response Will,
In Query Console while logged in as admin, I tried this for a query for
'cat' that I know gives results:
/*for $x in cts:search(//top-song, "cat")
let $p := xdmp:document-get-permissions($x)
I got, "your query returned an empty sequence"
If the query is correct does this mean there are no permissions?
Note that when logged in as admin and I use something like this with "doc":
in Query Console against the same database I get the document back.
Any help appreciated,
On 3/28/2012 4:24 PM, Will Thompson wrote:
> Have you compared the permissions of the files in the database that
> works to the one that doesn't? Make sure you are authenticated as
> admin, and use xdmp:document-get-permissions($uri). If the call
> returns empty, then there are no permissions, and only users with
> admin privileges will be able to see the files and get results.
> *From:*general-bounces at developer.marklogic.com
> [mailto:general-bounces at developer.marklogic.com] *On Behalf Of *Randy
> *Sent:* Wednesday, March 28, 2012 9:05 AM
> *To:* General MarkLogic Developer Discussion
> *Subject:* [MarkLogic Dev General] Another Corona Question
> Still trying to get Corona working. In fact, we had a break through
> and it seems to be working to some degree. The problem is that we can
> point it to a database that has data (like the top-songs database we
> used in class) but an empty result set is returned when using
> something like...
> However, during our testing we did find one database where Corona
> returned results. We were surprised.
> Question, what are things to look for when one database will not
> return results and another will?
> - Is it permissions? We don't think this is a problem.
> - Is it related to namespaces?
> - Is it related to encoding?
> - Other?
> Any help appreciated.
> General mailing list
> General at developer.marklogic.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General