[MarkLogic Dev General]
lib-search, Fields, and cts:field-word-query
John Craft
jcraft at jonesmcclure.com
Wed Jul 9 20:49:08 PDT 2008
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
More information about the General
mailing list