If //foo/@bar is the right precision, use an element-attribute range index. If 
you need to specify a more general or a more precise XPath, use a path range 
index.

Given the same precision there should be no difference in query performance, 
because either index would contain the same values. For reindexing and 
ingestion a path index may be slower, depending on how complex it is to 
evaluate.

-- Mike

> On 6 Nov 2014, at 04:56 , manoj viswanadha <[email protected]> wrote:
> 
> Hi all,
> 
> I have a requirement to construct index on attributes. So based on the 
> performance
> i just want to know the better option to go with either of 
> path-range-index/element-attribute-range index.
> 
> Which of the above will give best performance and recommended to go with.
> 
> Thanks,
> Manoj Viswanadha,
> cognizant-india.
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to