Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions en/reference/querying/yql.html
Original file line number Diff line number Diff line change
Expand Up @@ -2277,6 +2277,19 @@ <h2 id="annotations">Annotations</h2>
and this parameter protects against that when totalTargetHits leads to some node with
little content otherwise getting a low targetHits.
</p>
<p>
Each content node resolves its per-node target hits as
<code>max(minTargetHits, ceil(totalTargetHits &times; share))</code>, where <code>share</code>
is the node's share of the active documents in the
<a href="../applications/services/content.html#group">group</a> serving the query - not across
the whole cluster, since a query is dispatched to a single group. A node that has just joined
the cluster, or is still receiving documents after a topology change, temporarily holds little
content and would get too few hits from <code>totalTargetHits</code> alone without this floor.
</p>
{% include note.html content="Setting minTargetHits higher than a node's expected share of
totalTargetHits makes minTargetHits the effective value, and totalTargetHits has no further
effect until it exceeds the floor. This is easy to hit when moving from a flat to a grouped
topology, since a group typically has fewer nodes than the full cluster."%}
</td>
</tr>
<tr>
Expand Down