Hi Dave,

You are right. I finally got that I have to create the index "systemStart",
"systemStart", "validStart" and "validEnd" first. And then run the qury to
activate Bitemporal.
But I face some issues with my MarkLogic instance. I can do it, I sent two
messages on my issue. The object of my two mails are :
Problem with my MarkLogic instanceAnother error in my MarkLogic instance

Could you please help me to fix this without re-install my MarkLogic
instance ?

Gaël.
-- 

2016-02-26 16:14 GMT+01:00 Dave Cassel <[email protected]>:

> As noted in the documentation for temporal:axis-create(): "This function
> constructs an axis definition *based on the existing range indexes* that
> can be added to a collection in subsequent API calls. The axis definition
> is stored in the schema database."
>
> You need to set up the range index first, then the axis. You might find it
> helpful to re-read the Quick Start section of the Temporal Developer's
> Guide.
> http://docs.marklogic.com/guide/temporal/temporal-quick-start#chapter
>
> --
> Dave Cassel <http://davidcassel.net>, @dmcassel
> <https://twitter.com/dmcassel>
> Technical Community Manager
> MarkLogic Corporation <http://www.marklogic.com/>
> http://developer.marklogic.com/
>
>
> From: <[email protected]> on behalf of Gaël YIMEN
> YIMGA <[email protected]>
> Reply-To: MarkLogic Developer Discussion <[email protected]>
> Date: Friday, February 26, 2016 at 10:08 AM
> To: MarkLogic Developer Discussion <[email protected]>
> Subject: Re: [MarkLogic Dev General] [1.0-ml] XDMP-UNDFUN: (err:XPST0017)
> Undefined function temporal:axis-create()
>
> Hello Florent,
>
> Now I'm facing the following error (see the picture)
>
> [image: Images intégrées 1]
>
> Regards
>
> Gaël.
> --
>
> 2016-02-25 22:41 GMT+01:00 Florent Georges <[email protected]>:
>
>> Good catch ;-)
>>
>> And Gaël, just to make sure, do not just get rid of all semicolons,
>> remove the last one, and replace the 2 before that with a comma:
>>
>>     bt:axis-create(...) ,
>>     bt:axis-create(...) ,
>>     bt:collection-create(...)
>>
>> Regards,
>>
>> --
>> Florent Georges
>> http://fgeorges.org/
>> http://h2oconsulting.be/
>>
>>
>> On 25 February 2016 at 22:20, Christopher Hamlin wrote:
>>
>>> Try removing the semicolons after each temporal call and see if it goes
>>> further.  Those are statement separators, so the imports aren't seen.
>>>
>>> https://docs.marklogic.com/guide/xquery/enhanced#id_41212
>>>
>>> On Thu, Feb 25, 2016 at 4:13 PM, Gaël YIMEN YIMGA <[email protected]>
>>> wrote:
>>>
>>>> Hello All,
>>>>
>>>> Any update on this !!!!
>>>>
>>>> Gaël.
>>>> --
>>>> Eng, OCADB, CCAH
>>>> [email protected]
>>>> skype id : yimen.gael
>>>> (m) +33 7 81 67 78 23
>>>> http://yimengael.blogspot.fr/
>>>>
>>>> 2016-02-24 17:24 GMT+01:00 Gaël YIMEN YIMGA <[email protected]>:
>>>>
>>>>> Hello all,
>>>>>
>>>>> I'm using Marklogic version 8 on Windows 8. I would like to create a
>>>>> temporal collection to insert in Marklogic temporal documents. The XQuery
>>>>> template i used is the following:
>>>>>
>>>>> =======
>>>>> xquery version "1.0-ml";
>>>>> import module namespace temporal="http://marklogic.com/xdmp/temporal";
>>>>> at "/MarkLogic/temporal.xqy";
>>>>> (: import module namespace temporal="
>>>>> http://marklogic.com/xdmp/temporal"; at "C:/Program
>>>>> Files/MarkLogic/Modules/MarkLogic/temporal.xqy"; :)
>>>>> (: temporal:axis-remove("system"); :)
>>>>> (: temporal:axis-remove("valid"); :)
>>>>> temporal:axis-create("system",
>>>>> cts:element-reference(xs:QName("systemStart")),
>>>>> cts:element-reference(xs:QName("systemEnd")));
>>>>> temporal:axis-create("valid",
>>>>> cts:element-reference(xs:QName("validStart")),
>>>>> cts:element-reference(xs:QName("validEnd")));
>>>>> temporal:collection-create("bitemporal", "system", "valid");
>>>>> =======
>>>>>
>>>>> After trying many changes, I'm still facing the following error :
>>>>> Undefined function temporal:axis-create.
>>>>>
>>>>> [image: Images intégrées 1]
>>>>> Thanks in advance for your help.
>>>>>
>>>>> Gaël.
>>>>> --
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> General mailing list
>>>> [email protected]
>>>> Manage your subscription at:
>>>> http://developer.marklogic.com/mailman/listinfo/general
>>>>
>>>>
>>>
>>> _______________________________________________
>>> General mailing list
>>> [email protected]
>>> Manage your subscription at:
>>> http://developer.marklogic.com/mailman/listinfo/general
>>>
>>> --
>>> <http://developer.marklogic.com/mailman/listinfo/general>
>>> Florent Georges
>>> <http://developer.marklogic.com/mailman/listinfo/general>
>>> http://fgeorges.org/
>>> http://h2oconsulting.be/
>>>
>>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> Manage your subscription at:
>> http://developer.marklogic.com/mailman/listinfo/general
>>
>>
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to