Much like you would with an element-range index: use 
http://docs.marklogic.com/cts:value-match to get all the values, and use those 
values to construct the cts:path-range-query

-- Mike

On 10 Dec 2012, at 09:51 , Pascal Cadet <[email protected]> wrote:

> 
> So, how to search a wilcarded value in a path-reference like 
> //path[attb="yes"] with a cts:query ?
> 
> Regards
> 
> 
> 2012/12/10 Michael Blakeley <[email protected]>
> Normally cts:element-value doesn't use range indexes: it uses the universal 
> index.
> 
> So the element-range index constructor is 
> http://docs.marklogic.com/cts:element-range-query with $operator '=', and the 
> path-range index equivalent would be 
> http://docs.marklogic.com/cts:path-range-query
> 
> -- Mike
> 
> On 10 Dec 2012, at 04:59 , Pascal Cadet <[email protected]> wrote:
> 
> > Hi,
> >
> > Does exist a "cts:path-value-query" like "cts:element-value-query" ?
> > I just see a "cts:path-range-query" like "cts:element-range-query", but I 
> > want build a cts:query with a wildcarded value in a path-reference.
> >
> > Thanks for your help !
> >
> > --
> >
> > Pascal CADET
> > 06 12 97 02 53
> > www.pressinnov.com
> >
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://developer.marklogic.com/mailman/listinfo/general
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
> 
> 
> 
> -- 
>  
> Pascal CADET
> 06 12 97 02 53
> www.pressinnov.com
> 
> _______________________________________________
> 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