We are seeing some odd behaviour with the counts coming back when using 
wildcard searches when using search:search.

I have recreated this on a local ML instance using the flowing:

/Document_1.xml - contains "Sons Ltd."
/Document_2.xml - contains "Sonss Ltd.
/Document_3.xml - contains "Sonas Ltd.


search:search("son?") => total="1" … along with the correct <search-result/> 
etc.
… which is obviously correct.

However:
search:search("son??") => total="3" … along with the two matching 
<search-result/> for "Sonss Ltd." and "Sonas Ltd."

It has correctly identified and returned the search results (and snippets) but 
the count is wrongly including the "Sons" as a match.

This is happening on a much larger scale with the production data where a 
similar search can result in a count discrepancy of many thousands.

Could this be down to configuration, or is likely to be a bug?

Thanks,

Dec

----------------------------------------------------------------------------
Declan Newman, Development Team Lead,
Semantico, Floor 1, 21-23 Dyke Road, Brighton BN1 3FE
<mailto:[email protected]>
<tel:+44-1273-358247>

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

Reply via email to