[MarkLogic Dev General] Vijay Kumar wants to chat

2008-07-17 Thread Vijay Kumar
--- Vijay Kumar wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-dda5306bd3-d622368cbd-f987e3fc070de839 You'll need to click

Re: [MarkLogic Dev General] (no subject)

2008-07-17 Thread Michael Blakeley
Gnana/Deepak, Take a look at http://developer.marklogic.com/howto/tutorials/2006-08-xqsync.xqy (via http://www.google.com/search?hl=en&q=marklogic-server+move+|+copy+xcc+documents). If you don't want to use XQSync directly, you may be able to learn from its Java source code (http://developer.

[MarkLogic Dev General] (no subject)

2008-07-17 Thread Gnana Arasan
Hi, First I will explain what I am doing with MarkLogic Server. I am storing huge XML content into MarkLogic Server through XDBC and XCC in Java platform. After certain set of validation of my content in one database, I want to move the XML to another database in the same Marklogic Server. I hav

RE: [MarkLogic Dev General] English auxiliary verbs match oneanotherunexpectedly

2008-07-17 Thread Danny Sokolsky
Hi Simon, A few other points worth noting here: If you want stemming to occur on mixed case or all cap words, you can use the case-insensitive option to the query. Using an example similar to yours, you can run this: let $el := AM for $i in ("ARE","BE","IS","AM", "BEEN", "WAS") return if (cts:

RE: [MarkLogic Dev General] English auxiliary verbs match one anotherunexpectedly

2008-07-17 Thread simon . kc . smith
Hi Colleen, Thanks for your quick response. If we take the following two examples could you explain why I get different results Example 1 AM for $i in ("ARE","BE","IS","AM", "BEEN", "WAS") return if (cts:search(doc("/ric-test-document-7.xml"),cts:element-word-query(xs:QName("Ele"), $i, ("c

RE: [MarkLogic Dev General] English auxiliary verbs match one anotherunexpectedly

2008-07-17 Thread Colleen Whitney
Simon: This is expected behavior for stemmed searches. All of the verbs in your example stem to "be". To experiment with this, try: cts:stem("was"). Much the same as when "cats" stems to "cat". You can run your search with the 'unstemmed' option if you do not want that behavior.

[MarkLogic Dev General] English auxiliary verbs match one another unexpectedly

2008-07-17 Thread simon . kc . smith
Hi, We have come accross some strange behaviour where a number of English auxiliary verbs match one another where we would not expect them to. If we take the following example. A document, ele-am-doc.xml containing the single element am can be searched using the following xquery and will re