I configured my database and set the word positions to true.But still I am
getting the invalid options error while using the distance-weight option
in my search query.can some one suggest where am I wrong. For reference I
am posting the sample query:
Query:
cts:search
(/content,cts:or-query((
cts:word-query
(("cat","dog"),("case-insensitive","distance-weight=10")))))
Error
XDMP-OPTION: cts:word-query(("cat", "dog"), ("case-insensitive",
"distance-weight=10")) -- Invalid option "distance-weight=10"
in /eval, on line 2
expr: cts:word-query(("cat", "dog"), ("case-insensitive",
"distance-weight=10"))
thanks in advance
Santhosh Rajasekaran
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general