[MarkLogic Dev General] RE: Application Builder help
Danny.Sokolsky at marklogic.com
Thu Mar 25 10:58:14 PST 2010
What user are you accessing your application as? How did you load the content?
My guess is that you loaded the content without any permissions, and so the user you are running as does not see any of the content.
If you run the app as a user with the admin role, do you see your content?
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Aaron Stranahan
Sent: Thursday, March 25, 2010 11:36 AM
To: general at developer.marklogic.com
Subject: [MarkLogic Dev General] Re: Application Builder help
I have what I think is a fairly general question- I'm trying to use the Application Builder with very little success. Before I get into what I'm doing, let me say that I was able to get the Oscars sample application to work without any issue at all.
Without further ado- my issue is that once deployed, I get no "results" at all, ever with any criteria. This is true both of the search box, but also extends to the faceted information in the left sidebar, as well as the center.
What's interesting is, as I go through the app builder screens, I *do* see output in the results preview of the results tab, and my indexed elements show up on the search screen.
I've tried a few things without success:
* I've altered the search-option portion of config.xqy, adding a searchable-expression element with different values such as specifying the collection (fn:collection("mycollection"), etc
* I've changed the data configuration itself as well, removing them from the custom collection we had them in, removing namespace attributes from the root of my documents, etc.
* I have created new element range indexes, and reindexed my database several times
* I have tried out manually executing a couple cts queries in cq, and they do return results.
Beyond these things, I'm not sure where to turn. Any ideas out there?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General