Re: [MarkLogic Dev General] Exporting Xquery files using MLCP

2016-03-31 Thread Christopher Hamlin
I'm not sure why it would do that. A quick test I would try, if you can live with UTF-8 documents, is to remove the content_encoding specification. On Thu, Mar 31, 2016 at 3:28 PM, Danny Sinang wrote: > Hi, > > Has anyone here tried to export Xquery files from the Modules database using > MLCP ?

Re: [MarkLogic Dev General] Exporting Xquery files using MLCP

2016-03-31 Thread Sam Mefford
Hey Danny, When I try it it works fine for me. mlcp 1.3-3 and 8.0-5. Here's the command I ran: mlcp.bat export -host localhost -database Modules -port 8000 -username admin -password admin -mode local -output_file_path modules -directory_filter /marklogic.rest.transform/ -content_encoding sys

[MarkLogic Dev General] Exporting Xquery files using MLCP

2016-03-31 Thread Danny Sinang
Hi, Has anyone here tried to export Xquery files from the Modules database using MLCP ? We tried the config below, but the files generated had numbers at the start and end *014392* xquery version "1.0-ml"; module namespace cds="http://www.company.org/cds";; [2:04] cds:replace-subject-id-with-

Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-03-31 Thread Mary Holstege
Do you have advanced stemming enabled? With basic stemming only the first stem returned from cts:stem indexed and used for matching in search. //Mary On 03/31/2016 03:00 AM, Debin, Infant Jerald (LNG-CON) wrote: Hi Team, For the term French term “disparu” corresponding French stemmed word “d

Re: [MarkLogic Dev General] Need help in updating xml

2016-03-31 Thread Erik Hennum
Hi, Krishna: The persisted document has a serious problem. Everything up to the item element is persisted as XML. The contents of the item element are also XML but are persisted as text. That's why you have to unquote to get at the nested XML. You should take a look at the code that's persis

Re: [MarkLogic Dev General] Need help in updating xml

2016-03-31 Thread krishnanghri reddy
> > Hi, > > I have an xml in the below format. I am trying to update Version element > inside tag and facing an issue. > > "cannot update constructed nodes" > > I tried "in-mem-update.xqy" ,it updated the node on the fly and is not > updating in the database. > How to update the node in the datab

Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-03-31 Thread Geert Josten
Hi Debin, That is because ‘consign’ is a stem of all three the words you wanted highlighted, whereas ‘disparu’ wasn’t a stem of ‘disparaître’. I can imagine MarkLogic applies cts:stem on search terms, but only includes the shortest or first stem. Applying cts:stem to your search terms manually

Re: [MarkLogic Dev General] Marklogic Collation to not ignore spaces while ignoring punctuation and symbols

2016-03-31 Thread Karl Bae
Hi Blessing, This is very interesting topic! Just for an idea, can the input string be manipulated before sorting? So can the space be replaced with another character just before sorting, a character which precedes in ascii order than the alphabetic characters? For example, manipulate the input s

Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-03-31 Thread Debin, Infant Jerald (LNG-CON)
Hi Greet, It is working perfectly for English in below example without having stem introduced in the query, let $text:= He asked the accused what he knew of the consigned goods. The accused told Mr. Osmond that he was familiar ... ... own goods as opposed to consign reimbursing the owner of the

Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-03-31 Thread Geert Josten
Hi Debin, How about applying cts:stem on search terms first? let $text:= avec la rupture de septembre 1997, cette disparues situation fait disparaître la justification. Les services fournis disparu par la demanderesse l'ont été dans l'attente d'une rémunération, return cts:highlight($text,cts:w

Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-03-31 Thread Debin, Infant Jerald (LNG-CON)
Hi Geert, I understand stem for disparaître is not disparu. But stem for "disparu" is "disparaître". The same is not getting recognized and highlighted. We need "disparaître" to be highlighted when we give "disparu". avec la rupture de septembre 1997, cette disparues situation fait disparaît

Re: [MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-03-31 Thread Geert Josten
Hi Debin, The issue is that the stem for disparaître is not disparu, but disparaître. If you highlight with disparaître instead, you should see all highlights you are looking for: for $word in ("disparu", "disparues", "disparaître") return ("==", $word, "", cts:stem("dis

[MarkLogic Dev General] Issue with MLCP copy database to ML cluster of three nodes.

2016-03-31 Thread Jaydip Rananavare
Hi All, We are using MarkLogic 8.0-3 and MLCP 8.0-2 (also tried with 8.0-5) When we copy from one ML to other it work properly but when we copy from same ML host to ML cluster of three nodes its gives us following errors java.lang.RuntimeException: Could not buffer value as string caused by: java.

[MarkLogic Dev General] French stemmed word is not getting recognized and highlighted

2016-03-31 Thread Debin, Infant Jerald (LNG-CON)
Hi Team, For the term French term "disparu" corresponding French stemmed word "disparaître" is not getting recognized when performing search. Example: Query: let $text:= avec la rupture de septembre 1997, cette disparues situation fait disparaître la justification. Les services fournis disp