Hi,
I'm using search:search to search a single document in my database. I
accomplish this by having an additional-query, a cts:document-query, in my
search options. I understand from the online documentation that search:search
returns the total number of documents which the search hit on in the total
attribute. I'm wondering if there's a way to tell search:search that I want the
total number of hits (at the node level) which the search produced, and I do
not want the number of documents as it's always "1".
I've also tried using search:estimate with the query returned by search:search
with <return-query>{fn:true()}</return-query> set in the search options, and
I'm sure you're not surprised to hear that I get the exact same results.
Any thoughts are appreciated.
Cheers,
Adam
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general