Randy,

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.

-Will


From: [email protected] 
[mailto:[email protected]] On Behalf Of Randy Smith
Sent: Wednesday, March 28, 2012 9:05 AM
To: General MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Another Corona Question

All,
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...

/search?stringQuery=cat?outputFormat=xml,

 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.
Randy
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to