Hi Sini,


I think you will have to either put the xquery somewhere else for CPF, or
change the Content Processing Default Domain settings of your
ENV-Production database. I guess it points to Modules by default.



You could make it point to ENV-Production-Application-modules, but that
sounds like a database generated by the App builder, so if you do, make
sure custom code is retained if you run the app builder to update your app..



Kind regards,

Geert



*Van:* [email protected] [mailto:
[email protected]] *Namens *sini narayanan
*Verzonden:* dinsdag 19 februari 2013 6:16
*Aan:* MarkLogic Developer Discussion
*Onderwerp:* [MarkLogic Dev General] Pipeline Error - Module not Found



Hi All,



I have a DB named "ENV-Production".

And created an application "ENV-Production-Application" using app builder.



>From the application, when user clicks on a submit button, a new document
is inserted into DB.

The new document is geting inserted into the Content Source :
ENV-Production(ENV-Production-Application)



A pipeline is configured to the DB "ENV-Production".

The pipeline calls a module, that performs search:resolve on a json
transformed query.



Till this step everything is fine.



But, when in the pipeline, it is hitting the following error.

XDMP-MODNOTFOUND: (err:XQST0059) Module /application/constraint/geo.xqy not
found



In the pipeline module, I have the given all the search:options taken from
the v1/config/query/all.

Which include the following



<search:constraint name="map">

 <search:custom facet="true">

    <search:parse apply="parse-structured" ns="
http://marklogic.com/appservices/viz/geo";
at="/application/constraint/geo.xqy"/>

    <search:start-facet apply="start" ns="
http://marklogic.com/appservices/viz/geo";
at="/application/constraint/geo.xqy"/>

    <search:finish-facet apply="finish" ns="
http://marklogic.com/appservices/viz/geo";
at="/application/constraint/geo.xqy"/>

    <search:facet-option>limit=10000</search:facet-option>

    <search:facet-option>gridded</search:facet-option>

 </search:custom>

 <search:annotation>

    <search:geo-attr-pair>

    <search:heatmap n="89" e="179" s="-89" w="-179" latdivs="150"
londivs="150"/>

    <search:parent ns="" name="selfLocation"/>

    <search:lat ns="" name="y"/>

    <search:lon ns="" name="x"/>

    </search:geo-attr-pair>

 </search:annotation>

</search:constraint>





How do I reslove the Error ?

The actual file it is referring to is the geo.xqy under the
"ENV-Production-Application-modules".





The same xquery code (pipeline module code) when executed in the QC was
working fine. It dint throw any error as above.





Thanks,

Sini
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to