Sorry, for the second reply - also.

Without defining any options, then some decisions are made based on various default settings. So even if you get it working, underlying db settings changes in the future may change the behaviour.

Try also one of the following combinations for the options:

('exact') //shorthand for a few other settings
OR
('unstemmed', 'unwildcarded')

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