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