On Fri, 14 Nov 2014 04:16:37 -0800, Rahul Gupta <[email protected]> wrote:
> There are some of the queries in my code which are using > cts:path-range-query without any collation mentioned on them. > > I am now upgrading Marklogic from 6.0-5.3 to 7.0-4.1 and I noticed that > default collation of these queries have been changed. > > > In ML 6.0-5.3 the default collation is http://marklogic.com/collation/ > In ML 7.0-4.1, it is http://marklogic.com/collation/codepoint > > Can you please tell me what will be the impact of them while migrating > to ML7? > > [Description: Description: cid:[email protected]] > Thanks & Regards > Rahul Gupta |Senior Associate(Technology) | Nagarro Software Pvt. Ltd. > Plot 371, Sector-18,Electronic City,Gurgaon(H.R.)-122015, India > Mobile No: +91-9968923777 > What will happen if you have range index queries that don't explicitly mention the collation is that we'll look for the range index with the default collation, which will come from your query prolog (if you have it explicitly there) or from the appserver setting. If there is no range index defined with that collation, you'll get an error. If there is, you'll be using that range index. So if you had both the codepoint collation version and the root collation version, the behaviour of your application would change, as these collations have different ideas about equality and ordering. Since you are seeing a change, this is coming from the appserver setting. I'd suggest you switch it to whatever is appropriate for your application. //Mary _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
