Hello,
I'm having problem with auto suggest feature that I trying to build.
I'm using cts:value-match for this purpose and I want to find phrases that
contain may input string but only as word begin.
For example if I type "Berl"
I want to gest as a suggestion:
Berlin Publishing House
Springer Berlin
Berliner Dom
But not
Zooberlin
So in the and I want something like that
cts:value-match($ref, concat($inputValue, '*'), $options, $query) and
cts:value-match($ref, concat('* ', $inputValue, '*'), $options, $query)
combined in one search.
Is it possible or I have to make two ML queries and combine the results.
Best regards
Piotr
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general