The documentation on fields states "If a field has two or more elements with
different weights and, if one of those elements is a child of another element,
then the weight of the parent element is used and the weight of the child
element is ignored." But it's not clear what happens when an ancestor and
descendant have weights and the direct parent of the descendant is excluded.
For example, say I have a document:
<X>
<A>
<B>
<C>
Document root is excluded, <A> is included with weight=1, <B> is excluded, and
<C> is included with weight=2. Will a field match for a term in <C> be weighted
with 1 or with 2? Is it possible to check how indexed weights contribute to
scores to confirm that a configuration like this is working as intended?
-Will
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general