Good afternoon,

We are having some issues estimating the number of documents when performing 
word queries containing punctuation characters.

I have attached 4 sample documents. When using the below query, the estimate 
returns 3 and the count 1.

Are there any db configuration settings we can use to ensure a more accurate 
estimate result?


let $query := cts:word-query("4ยต", ("exact"), 2)

return
  (
    xdmp:estimate(cts:search(fn:doc(), $query)),
    fn:count(cts:search(fn:doc(), $query))
  )


Wissam Asfahani
XML Developer

[Description: cid:[email protected]]

Williams Lea Tag
Parliamentary Press
Mandela Way
London
SE1 5SS
United Kingdom
T: +44 (0)20 7873 8713
wissam,[email protected] <mailto:[email protected]>
www.tso.co.uk<http://www.tagworldwide.com/>
www.williamslea.com<http://www.williamslea.com/>



GOGREEN Climate Protection with DHL: please consider your environmental 
responsibility before printing this email.

This email is intended exclusively for the individual or entity to which it is 
addressed. This communication may contain information that is proprietary, 
privileged or confidential. If you are not the named addressee, you are not 
authorized to read, print, retain, copy or disseminate this message or any part 
of it. If you have received this message in error, please notify the sender 
immediately by email and delete all copies of the message.
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to