Re: [MarkLogic Dev General] Unfiltered, exact searches

2017-03-23 Thread Mary Holstege
Not so much a bug, as a consequence of how indexing works. Value queries, even exact values queries are word searches with a spanning constraint. If you really want an equality search, set up a range index and do a range query. What is going on is that the index key for "new" (value exact) is s

[MarkLogic Dev General] Connecting to MarkLogic 9ea on CentOS via ODBC

2017-03-23 Thread Nick Heidke
All- Are there any specific ODBC settings that need to be set in order to connect to a MarkLogic ODBC app server running on CentOS? We're using MarkLogic 9ea. I've got an identical set up running locally on my Windows 10 machine with MarkLogic 8, and I'm able to connect to it via ODBC without i

Re: [MarkLogic Dev General] URI_ID whitespace problems with mlcp #CGO#

2017-03-23 Thread Jain, Abhishek
Hi Lucas, I'm not sure if it's a solution but It may help. I did something similar while uploading from query console. If you are open to use query console/ mlcp transform, the below code I used to handle uri even with blank spaces. I just used xdmp-url-encode(uri). We can create custome uris as

Re: [MarkLogic Dev General] potential non-conformance with RFC 3986?

2017-03-23 Thread Jakob Fix
Thanks Geert! cheers, Jakob. On Thu, Mar 23, 2017 at 9:19 AM, Geert Josten wrote: > This seems to sum up all relevant parts nicely: > > http://stackoverflow.com/questions/15641694/are-uris- > case-insensitive/26196170#26196170 > > And it seems to confirm your statements. I raised RFE #3921 on y

Re: [MarkLogic Dev General] Unfiltered, exact searches

2017-03-23 Thread Andreas Hubmer
Hi, I tested it in two environments: - ML 8.0-5.1 on a Windows 10 developer machine - ML 8.0-6.3 on CentOS Linux release 7.2.1511 (Core) Regards, Andreas 2017-03-23 9:27 GMT+01:00 Geert Josten : > Hi Andreas, > > Sounds like a bug indeed. It is as if it appends a case-insensitive flag >

Re: [MarkLogic Dev General] URI_ID whitespace problems with mlcp

2017-03-23 Thread Geert Josten
Sorry, ignore my reply, it only applies to delimited_text. Thanks to Martijn for pointing that out to me.. @Lucas, you did not mention XML parsing errors, so maybe your XML is just fine, and all you try to do is take an attribute value and use that as uri. Unfortunately, you can’t do that with

Re: [MarkLogic Dev General] Unfiltered, exact searches

2017-03-23 Thread Geert Josten
Hi Andreas, Sounds like a bug indeed. It is as if it appends a case-insensitive flag despite the ‘exact’, because of the all-lowercase ’new’. Can you tell which version of MarkLogic you are running, and on which architecture? Cheers, Geert From: mailto:general-boun...@developer.marklogic.com>

Re: [MarkLogic Dev General] potential non-conformance with RFC 3986?

2017-03-23 Thread Geert Josten
This seems to sum up all relevant parts nicely: http://stackoverflow.com/questions/15641694/are-uris-case-insensitive/26196170#26196170 And it seems to confirm your statements. I raised RFE #3921 on your behalf.. Cheers, Geert From: mailto:general-boun...@developer.marklogic.com>> on behalf o

[MarkLogic Dev General] Unfiltered, exact searches

2017-03-23 Thread Andreas Hubmer
Hi, There seems to be a bug related to unfiltered and exact value searches. We are using value queries in the Java API, but I've boiled it down to cts searches. The following snippet exhibits the wrong behavior: xquery version "1.0-ml"; xdmp:document-insert("/bug/doc.xml", NEW) ; "Document is f