What is your exact search rule? From your example, looks like you try to
look for another number by adding a ³0². If that is the case, can you run
a cts:or-query, one for 200, and one for 2000?

Shan Jiang
Principal Consultant
MarkLogic Corporation
[email protected]
Phone: +1 703 869 4672
www.marklogic.com <http://www.marklogic.com/>






On 6/19/17, 12:59 PM, "[email protected] on behalf
of Oleksii Segeda" <[email protected] on behalf of
[email protected]> wrote:

>Hi everyone,
>
>Any thoughts on this?
>
>Oleksii.
>
>
>-----Original Message-----
>From: Oleksii Segeda
>Sent: Friday, June 16, 2017 6:16 PM
>To: [email protected]
>Subject: cts:element-value-match for integers
>
>Hi everyone,
>
>Can someone explain how does cts:element-value-match work with integer
>indexes? I cannot pass a string as a second argument, so it's unclear how
>to do a wildcarded search.
>Ultimate goal is to find 2000 and 200, if user typed 200. I understand
>that I can create an additional string index, but I want to know if a
>better solution exists.
>
>Thanks.
>
>Oleksii Segeda
>IT Analyst
>Information and Technology Solutions
>www.worldbank.org
>
>
>
>
>_______________________________________________
>General mailing list
>[email protected]
>Manage your subscription at:
>http://developer.marklogic.com/mailman/listinfo/general

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

Reply via email to