HI.

I believe for this, you may need to allow unstemmed word searches.

This setting can be found under: [Your database]-> Configure -> "word searches" [set to true]

Kind Regards,
David Ennis

On 07/02/14 12:46, Prasanth N V R wrote:

Hi,

I am trying to fetch uris which has an element attribute value "F543-1094" from list of documents in a DB as below:

cts:uris(

                (),

                (),

                
cts:element-attribute-value-query(xs:QName("ns:textValue"),xs:QName("attrValue"),("F543-1094")))

But this did not give any results.

When I try using like this:

cts:uris(

                (),

                (),

                
cts:element-attribute-value-query(xs:QName("ns:textValue"),xs:QName("attrValue"),("*F543-1094*")))

 I got expected results.

I tried using 'case-insensitive',' punctuation-insensitive', 'whitespace-insensitive' in first query. But nothing worked out.

May be it is due to encoding/format issue?

I want to use the first query.

Can someone please suggest the right way.

Thanks in advance.



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


--

David Ennis
Content Engineer

HintTech Mastering the value of content <http://www.hinttech.com>
Mastering the value of content
creative | technology |content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T:      +31 88 268 25 00

M:      +31 6 000 000 00


Website <http://www.hinttech.com> Twitter <https://twitter.com/HintTech> Facebook <http://www.facebook.com/HintTech> LinkedIn <http://www.linkedin.com/company/HintTech>

HintTech Mastering the value of content <http://www.dayon.nl>

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

Reply via email to