[MarkLogic Dev General] lib-search, Fields,
and cts:field-word-query
Mike Sokolov
sokolov at ifactory.com
Thu Jul 10 06:16:42 PDT 2008
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
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general
>
More information about the General
mailing list