One forest was merged to 0, other forest untouched. Second attempt worked fine, 
both set to 0 deleted frags.

Thanks



________________________________
 From: "[email protected]" 
<[email protected]>
To: [email protected] 
Sent: Friday, September 14, 2012 9:07 AM
Subject: General Digest, Vol 99, Issue 21
 
Send General mailing list submissions to
    [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
    http://developer.marklogic.com/mailman/listinfo/general
or, via email, send a message with subject or body 'help' to
    [email protected]

You can reach the person managing the list at
    [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of General digest..."


Today's Topics:

   1. remove delete fragments (Paul M)
   2. ctx and xdmp declaration (Gary Larsen)
   3. Re: remove delete fragments (Michael Blakeley)
   4. Re: ctx and xdmp declaration (Ryan Dew)
   5. Re: ctx and xdmp declaration (Gary Larsen)


----------------------------------------------------------------------

Message: 1
Date: Thu, 13 Sep 2012 13:32:16 -0700 (PDT)
From: Paul M <[email protected]>
Subject: [MarkLogic Dev General] remove delete fragments
To: "[email protected]"
    <[email protected]>
Message-ID:
    <[email protected]>
Content-Type: text/plain; charset="us-ascii"

I read that to remove deleted fragments from database, one initiates a merge. 
After setting off merge, deleted fragment count went down, but not to 0. Should 
the reindexer timestamp be set before the merge is initialized?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://developer.marklogic.com/pipermail/general/attachments/20120913/9110f8ee/attachment-0001.html
 

------------------------------

Message: 2
Date: Thu, 13 Sep 2012 17:08:32 -0400
From: "Gary Larsen" <[email protected]>
Subject: [MarkLogic Dev General] ctx and xdmp declaration
To: "General MarkLogic Developer Discussion"
    <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Hi,



Trying to debug a query in Oxygen but have syntax errors:



XQuery syntax error in #...ns/envisn/netvisn/p')/p:params#:     Prefix xdmp
has not been declared

XQuery syntax error in #... cts:element-value-query#:     Prefix cts has not
been declared



What are the proper namespace declarations for these prefixes?



Thanks,

Gary



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://developer.marklogic.com/pipermail/general/attachments/20120913/873b067b/attachment-0001.html
 

------------------------------

Message: 3
Date: Thu, 13 Sep 2012 14:11:25 -0700
From: Michael Blakeley <[email protected]>
Subject: Re: [MarkLogic Dev General] remove delete fragments
To: Paul M <[email protected]>,    MarkLogic Developer Discussion
    <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

No, the reindexer timestamp is not relevant. The merge timestamp is relevant: 
if it is non-zero, fragments deleted after the merge timestamp will be 
preserved.

Or you might have had updates going on during the merge. Updates tend to create 
a small number of delete fragments.

-- Mike

On 13 Sep 2012, at 13:32 , Paul M wrote:

> I read that to remove deleted fragments from database, one initiates a merge. 
> After setting off merge, deleted fragment count went down, but not to 0. 
> Should the reindexer timestamp be set before the merge is initialized?
> 
> 
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general



------------------------------

Message: 4
Date: Thu, 13 Sep 2012 15:23:13 -0600
From: Ryan Dew <[email protected]>
Subject: Re: [MarkLogic Dev General] ctx and xdmp declaration
To: MarkLogic Developer Discussion <[email protected]>
Message-ID:
    <CAK-PWLcmunZ5n+-ZAHG7HnqSaOQDwW+TeZpbfYuPvjDB-=3...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

declare namespace xdmp = "http://marklogic.com/xdmp";;
declare namespace cts = "http://marklogic.com/cts";;

The namespaces could be found with running the following in QConsole:

xquery version "1.0-ml";

fn:namespace-uri-from-QName(xs:QName('xdmp:test')),
fn:namespace-uri-from-QName(xs:QName('cts:test'))


-Ryan Dew

On Thu, Sep 13, 2012 at 3:08 PM, Gary Larsen <[email protected]> wrote:

> Hi,****
>
> ** **
>
> Trying to debug a query in Oxygen but have syntax errors:****
>
> ** **
>
> XQuery syntax error in #...ns/envisn/netvisn/p')/p:params#:     Prefix
> xdmp has not been declared****
>
> XQuery syntax error in #... cts:element-value-query#:     Prefix cts has
> not been declared
>
> ****
>
> What are the proper namespace declarations for these prefixes?****
>
> ** **
>
> Thanks,****
>
> Gary****
>
> ** **
>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://developer.marklogic.com/pipermail/general/attachments/20120913/e71c5e5b/attachment-0001.html
 

------------------------------

Message: 5
Date: Fri, 14 Sep 2012 09:08:31 -0400
From: "Gary Larsen" <[email protected]>
Subject: Re: [MarkLogic Dev General] ctx and xdmp declaration
To: "'MarkLogic Developer Discussion'"
    <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

Thanks Ryan.  That worked but now I've run into a function signature issue. 



In the xdmp:unquote() call below I get this syntax error in Oxygen's
debugger:



> Cannot find a matching 2-argument function named
{http://marklogic.com/xdmp}unquote()



declare function console-data:param($name, $val) {
    let $p :=
xdmp:unquote($params,'http://developer.envisn.com/xmlns/envisn/netvisn/p')/p
:params/*[local-name()=$name]/p:val return
        if(fn:count($p) gt 1 or $p ne '') then $p
        else $val
};





The query runs when the xquery version is "1.0.-ml" but the debugger
requires "1.0". 



Is there a solution or alternative anyone can suggest?



Thanks,

Gary



From: [email protected]
[mailto:[email protected]] On Behalf Of Ryan Dew
Sent: Thursday, September 13, 2012 5:23 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] ctx and xdmp declaration



declare namespace xdmp = "http://marklogic.com/xdmp";;

declare namespace cts = "http://marklogic.com/cts";;



The namespaces could be found with running the following in QConsole:



xquery version "1.0-ml";



fn:namespace-uri-from-QName(xs:QName('xdmp:test')),

fn:namespace-uri-from-QName(xs:QName('cts:test'))





-Ryan Dew



On Thu, Sep 13, 2012 at 3:08 PM, Gary Larsen <[email protected]> wrote:

Hi,



Trying to debug a query in Oxygen but have syntax errors:



XQuery syntax error in #...ns/envisn/netvisn/p')/p:params#:     Prefix xdmp
has not been declared

XQuery syntax error in #... cts:element-value-query#:     Prefix cts has not
been declared

What are the proper namespace declarations for these prefixes?



Thanks,

Gary




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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://developer.marklogic.com/pipermail/general/attachments/20120914/0ad8a91f/attachment.html
 

------------------------------

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


End of General Digest, Vol 99, Issue 21
***************************************
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to