Re: [MarkLogic Dev General] Is Configuration Manager scriptable?

2012-12-17 Thread Will Thompson
Thanks! -Will From: Colleen Whitney Reply-To: MarkLogic Discussion Date: Monday, December 17, 2012 3:15 PM To: MarkLogic Discussion Subject: Re: [MarkLogic Dev General] Is Configuration Mana

Re: [MarkLogic Dev General] Is Configuration Manager scriptable?

2012-12-17 Thread Colleen Whitney
Will, Yes, there is a REST API for that, shipped on port 8002 starting with ML 5. http://docs.marklogic.com/REST/packaging --Colleen From: general-boun...@developer.marklogic.com [general-boun...@developer.marklogic.com] on behalf of Will Thompson [wthomp...@jo

[MarkLogic Dev General] Is Configuration Manager scriptable?

2012-12-17 Thread Will Thompson
Is it possible to script the import of a Configuration Manager XML package? -Will ___ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general

[MarkLogic Dev General] another scripting question

2012-12-17 Thread Jakob Fix
Hi, regarding the scripting of a ML environment, I've looked at the sample scripts here, for example: http://docs.marklogic.com/guide/admin-api/SampleProgram#id_84776 I am curious as to why the admin:appserver-exists function was not used, but a workaround using admin:get-appserver-ids($config)

[MarkLogic Dev General] Problem with path range query

2012-12-17 Thread Pascal Cadet
Hi, My first query has no result : *cts:search* ( *collection*(), *cts:and-query* (( *cts:path-range-query* ( "/root/node1/node11/[@do='delete']/@attb" , "=", "paul" ) , *cts:path-range-query* ( "/root/node2/id/" , "=", "123" ) )) ) However, there is a result as you can s

Re: [MarkLogic Dev General] Sorting search results based on term frequency

2012-12-17 Thread Arne Kampf
Mary, Mike, Thanks for the fast response In our "real world" database there will be more documents than in this test example, nevertheless the problem remains that the element we base our search on is rather short (as well as our documents overall), so the calculation will determine the same v

Re: [MarkLogic Dev General] Sorting search results based on term frequency

2012-12-17 Thread Mary Holstege
On Mon, 17 Dec 2012 07:05:05 -0800, Michael Sokolov wrote: > My guess is you may be seeing the effect of limited precision in the > score calculation, but I'm sure someone from MarkLogic will give you a > more confident answer :) > > -Mike Yes, that's about it. Scoring in MarkLogic is calc

Re: [MarkLogic Dev General] Sorting search results based on term frequency

2012-12-17 Thread Michael Sokolov
My guess is you may be seeing the effect of limited precision in the score calculation, but I'm sure someone from MarkLogic will give you a more confident answer :) -Mike On 12/17/2012 9:56 AM, Arne Kampf wrote: Hi all, first of all: sorry if this is a RTM question, I scanned the documents

[MarkLogic Dev General] Sorting search results based on term frequency

2012-12-17 Thread Arne Kampf
Hi all, first of all: sorry if this is a RTM question, I scanned the documents and didn't find any hint... I'm currently having trouble trying to get search results ordered in the way I want them to be. I've looked at the documentation in the search-dev-guide, explaining the different calculati

[MarkLogic Dev General] AUTO: Krishna Chivukula is out of the office. (returning 31/12/2012)

2012-12-17 Thread Krishna . Chivukula
I am out of the office until 31/12/2012. If your email requires urgent attention, call me on 07919823515. Otherwise, I will respond to your message when I return. Note: This is an automated response to your message "Re: [MarkLogic Dev General] Role based security in ml" sent on 17/12/2012 06:0