Skip to content
Merged
Show file tree
Hide file tree
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
29 changes: 29 additions & 0 deletions specs/composition-full/common/params/Composition.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
enableABTest:
type: boolean
description: |
Whether to enable index level A/B testing for this run request.
If the composition mixes multiple indices, the A/B test is ignored.
default: true
x-categories:
- Advanced

enableRules:
type: boolean
description: Whether to enable composition rules.
default: true

getRankingInfo:
type: boolean
description: Whether the run response should include detailed ranking information.

ruleContexts:
type: array
items:
type: string
description: |
Assigns a rule context to the run query
[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
default: []
example: [mobile]
x-categories:
- Rules
Loading
Loading