Skip to content

Commit 7f1c198

Browse files
committed
improve setting description
1 parent e3cc3d5 commit 7f1c198

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

specs/composition/common/schemas/components/CompositionBehavior.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ compositionBehavior:
4545
title: deduplication
4646
type: object
4747
additionalProperties: false
48-
description: Deduplication configures the method used to remove the same items from injected groups and main search.
48+
description: Deduplication configures the methods used to resolve duplicate items between main search results and injected group results.
4949
properties:
5050
positioning:
5151
$ref: '#/dedupPositioning'
@@ -106,10 +106,10 @@ dedupPositioning:
106106
- highest
107107
- highestInjected
108108
description: |
109-
Deduplication setting to determine duplicate object resolution.
110-
highest:
111-
- Will keep the item in the highest position if a duplicate is found.
112-
highestInjected:
113-
- Keeps the item at its highest possible injected position, even if main might be higher.
109+
Deduplication positioning configures how a duplicate result should be resolved between an injected item and main search results.
110+
Current configuration supports:
111+
- 'highest': always select the item in the highest position, and remove duplicates that appear lower in the results.
112+
- 'highestInjected': duplicate result will be moved to its highest possible injected position, but not higher.
113+
If a duplicate appears higher in main search results, it will be removed to stay it's intended group position (which could be lower than main).
114114
example: highest
115115
default: highestInjected

0 commit comments

Comments
 (0)