It is certainly possible to create more than one element range index (or 
attribute range index) on the same element. Ordinarily, you would do this to 
index an element as two different scalar types (such as "string" and "date"); 
or 
to index a string value according to two different collations (useful if you 
need to do more than one kind of sorting, for example).

But creating two 100% identical element range indexes... sounds like MarkLogic 
should complain about that. Maybe someone at MarkLogic can explain whether the 
second index is actually created, or just ignored.

David

On Thu, 3 Sep 2015, Rajendran, Manju wrote:

> Hi All
>
> I find something strange in the  version 7.0.2 of Marklogic
> Suppose I have the Range index already created
>
> With Scalar type   : UnSignedLong
> Namespace URI   : HTTP://WWW.some.COM/FILE/COMMON
> LOCALNAME        : internaltype
> Invalid Values      : ignore
> Range values       :  FALSE
>
> It allows me to create another index of the  same  name
>
> With Scalar type   : UnSignedLong
> Namespace URI   : 
> HTTP://WWW.some.COM/FILE/COMMON<HTTP://WWW.THANKSDOCTOR.COM/FILE/COMMON>
> LOCALNAME        : internaltype
> Invalid Values      : ignore
> Range values       :  FALSE
>
> Is this a bug? Please could someone shed some light?
>
> Thanks
> Manju
>
>
>
>
>
>
> This e-mail may contain confidential or privileged information. If
> you think you have received this e-mail in error, please advise the
> sender by reply e-mail and then delete this e-mail immediately.
> Thank you. Aetna

-- 
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 400318, Charlottesville, VA 22904-4314 USA
Email: [email protected]   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to