[MarkLogic Dev General] Can't re-install MarkLogic on Mac Lion

2012-01-23 Thread seme...@hotmail.com
A colleague of of mine had ML 4.2 installed on his Macbook with Lion, then he installed ML 5 successfully, then he tried to install 4.2 and got a (newer version exists on HD error) so then he tried to uninstall ML 5 and followed the step in the installation doc and it appeared to uninstall

Re: [MarkLogic Dev General] Can't re-install MarkLogic on Mac Lion

2012-01-23 Thread John Snelson
If you want to downgrade MarkLogic (backrev) on OS X, you need to run this magic command first: sudo pkgutil --forget com.marklogic.marklogicServer.postflight.pkg John On 23/01/12 19:52, seme...@hotmail.com wrote: A colleague of of mine had ML 4.2 installed on his Macbook with Lion, then he

Re: [MarkLogic Dev General] Can't re-install MarkLogic on Mac Lion

2012-01-23 Thread seme...@hotmail.com
Ok the result of him running that is: sudo pkgutil --forget com.marklogic.marklogicServer.postflight.pkg No receipt for 'com.marklogic.marklogicServer.postflight.pkg' found at '/'. Does this need to be run against a different directory? And does it matter that all the install directories are

Re: [MarkLogic Dev General] Task server / priority strategy question

2012-01-23 Thread Michael Blakeley
With 5.0, xdmp:spawn gained a 'priority' option. I am not sure exactly how it behaves, but it might suit your needs. http://developer.marklogic.com/pubs/5.0/apidocs/Ext-6.html#xdmp:eval The only way to have multiple task servers is to have multiple hosts. If you put them in separate groups,

Re: [MarkLogic Dev General] Task server / priority strategy question

2012-01-23 Thread seme...@hotmail.com
One possibility is to create a job list with priorities and put that list in the DB. Then when the next job processor kicks off it just gets the highest priority job off the list. This means you'd have to have a place to park unprocessed data while it's waiting to be processed. You also may

Re: [MarkLogic Dev General] creating a search:search constraint for finding similar results of a node

2012-01-23 Thread Colleen Whitney
Hi Djuan, I don't know if this would meet your needs or not...but there is already a return-similar option you can set to true in the options wrapper; what you get is a list of similar URIs for each search result (the result itself is supplied as the node from which matches are made). It runs

[MarkLogic Dev General] Community blogging activity

2012-01-23 Thread Evan Lenz
Hi everyone, I recently posted a summary of community blogging activity on the Developer Community blog (here: http://developer.marklogic.com/blog/community-bloggers/2011-11 http://developer.marklogic.com/blog/community-bloggers/2012-01). In case you missed it, below is the summary repeated

Re: [MarkLogic Dev General] Task server / priority strategy question

2012-01-23 Thread Geert Josten
Hi Josh, I wrote a bit of code that partly does what Ryan describes below. It is available at github here: https://github.com/grtjn/ml-queue, and should run in ML 4.x.. It allows you to create task objects in your DB, and have them run by a kind of background cron task. It comes with a small