I had to hack at it for a while to get it to generate field-word-queries - I don't think support for this is built in, but I'd also be interested to know if someone at MarkLogic knows otherwise.

-Mike

John Craft wrote:
I have created a field with appropriate includes and excludes, but I am
having difficulty figuring out how to configure lib-search to search it.
lib-search keeps wanting to build cts:word-query() constructors rather
than a cts:field-word-query() constructor.  I have looked through the
code and found the $SEARCH-FIELD-MAP in lib-parser.xqy but I'm not sure
exactly how to use it.  The example in the documentation seems to
indicate <lp:mapping /> is for searching specific elements.

Any insight you could share with lib-search and fields would be
appreciated.

John Craft
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to