Re: [MarkLogic Dev General] Proximity Search Algorithm

2013-10-11 Thread Danny Sokolsky
Hi Abhishek, Did you see this part of the doc: http://docs.marklogic.com/guide/search-dev/relevance#id_34743 Does that explain what you need to know? It is very user-tunable, as you can specify different distance-weights. -Danny From: general-boun...@developer.marklogic.com [mailto:general-

[MarkLogic Dev General] Proximity Search Algorithm

2013-10-11 Thread Abhishek53 S
Hi All, I am doing behavior analysis for proximity search criteria between MarkLogic and Oracle Text, Can someone help me understanding which algorithm we are using in MarkLogic behind proximity search solution. If possible, is it standard for all other search engines? Thanks Abhishek Srivast

Re: [MarkLogic Dev General] Delete URI from a directory which contains more file

2013-10-11 Thread Geert Josten
Hi Gurbeer, If you change ‘maintain last modified’ to false, you’d best also set ‘maintain directory last modified’ to false as well if that is not yet the case. Once you have done that, you can also consider getting rid of properties fragments, if you are not using properties on documents or di

Re: [MarkLogic Dev General] Delete URI from a directory which contains more file

2013-10-11 Thread Danny Sokolsky
Glad you got past the first problem :) That probably means there are merges going on. This is A Good Thing. When they finish, your forest size should be smaller. This is why you need the extra space, so merges can combine stands and remove deleted documents, ending up using less disk space.

Re: [MarkLogic Dev General] Delete URI from a directory which contains more file

2013-10-11 Thread Singh, Gurbeer
Ok , that worked , but new problem I made this change "maintain last modified" --> false We are using 5.01.2 After making above change , we are trying to delete all URI from "docsIn" folder , we are doing this through REST API Running below CODE .. let $docURI:= xdmp:get-request-field("uri",

Re: [MarkLogic Dev General] Delete URI from a directory which contains more file

2013-10-11 Thread Danny Sokolsky
Hi Gurbeer, Do you have maintain directory last modified set on the database? That setting will cause a lot of locks to occur. If it is true, true, try setting it to false and see what happens. Also, what version of MarkLogic ( xdmp:version() )? -Danny From: general-boun...@developer.marklo

Re: [MarkLogic Dev General] Delete URI from a directory which contains more file

2013-10-11 Thread Singh, Gurbeer
Actually this directory is very big 54267 MB I tried to delete all URI , but its hanging , so I thought to try one by one. But no luck ~Gurbeer From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Harry B. Sent: Thursday, October 10, 2013

Re: [MarkLogic Dev General] Highlighting query

2013-10-11 Thread Erik Hennum
Hi, Pragya: Would something similar to the following fragment (untested) meet the requirements? let $terms := let $map := map:map() return ( map:put($map,'Google','1'), map:put($map,'company','4'), map:put($map,'data','7'), $map ) let $query := cts