Your Algolia API key with the necessary permissions to make the request.
Permissions are controlled through access control lists (ACL) and access restrictions.
The required ACL to make a request is listed in each endpoint's reference.
A successful API response means that a task was added to a queue.
It might not run immediately.
You can check the task's progress with the task operation and this task ID.
Example:
1514562690001
Last modified on March 23, 2026
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Algolia","description":"Build search, discovery, and AI experiences with Algolia. Guides, API references, libraries, UI components, and integrations for your stack.","colors":{"primary":"#3970ff","light":"#3970ff","dark":"#003DFF"},"logo":{"light":"https://mintcdn.com/algolia/kiecJp3hu-WXhj-3/logo/light.svg?fit=max\u0026auto=format\u0026n=kiecJp3hu-WXhj-3\u0026q=85\u0026s=bf613e260ca94c0eb23384e6c0d5c77f","dark":"https://mintcdn.com/algolia/kiecJp3hu-WXhj-3/logo/dark.svg?fit=max\u0026auto=format\u0026n=kiecJp3hu-WXhj-3\u0026q=85\u0026s=31a97f60063c111253c518bc0c638e70","href":"/doc"},"favicon":"https://mintcdn.com/algolia/ApgdWRCFtd9v2oPX/favicon.png?fit=max\u0026auto=format\u0026n=ApgdWRCFtd9v2oPX\u0026q=85\u0026s=91df7c93abadfb122ffc8e0f78cc2dc8","api":{"playground":{"display":"simple"},"examples":{"languages":["curl","csharp","dart","go","java","javascript","kotlin","php","python","ruby","scala","swift"],"autogenerate":false}},"navbar":{"links":[{"href":"https://dashboard.algolia.com/users/sign_in","label":"Log in"}],"primary":{"type":"button","label":"Create account","href":"https://www.algolia.com/users/sign_up"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/algolia","x":"https://twitter.com/algolia","discord":"https://alg.li/discord","youtube":"https://www.youtube.com/channel/UCTNkiq-SO8hay1PRx-it9Cw","website":"https://www.algolia.com"},"links":[{"items":[{"label":"Support","href":"https://support.algolia.com/hc/en-us"},{"label":"Glossary","href":"/doc/glossary"},{"label":"Privacy policy","href":"https://www.algolia.com/policies/privacy"},{"label":"Cookie settings","href":"https://www.algolia.com"}]}]},"seo":{"metatags":{"canonical":"https://www.algolia.com"},"organization":{"id":"https://www.algolia.com/#organization","name":"Algolia","url":"https://www.algolia.com","sameAs":["https://www.linkedin.com/company/algolia/","https://github.com/algolia","https://x.com/algolia","https://www.youtube.com/channel/UCTNkiq-SO8hay1PRx-it9Cw"]}},"fonts":{"heading":{"family":"Sora"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"section","codeblocks":"system","latex":true},"integrations":{"segment":{"key":"cKQbv9nMHIUgdWswDLG0c3UdiUgBaUmA"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity"],"display":"header"},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"algolia","hasAudioNarration":false,"actualSubdomain":"algolia","customDomains":["www.algolia.com"],"gitSource":{"type":"github","owner":"algolia","repo":"docs-new","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af5c625483e41d0aa573dc2","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Libraries and tools","count":618},{"language":"default","tag":"Guides","count":584},{"language":"default","tag":"API clients","count":407},{"language":"default","tag":"Search and Discovery platform","count":406},{"language":"default","tag":"API reference","count":403},{"language":"default","tag":"UI libraries","count":290},{"language":"default","tag":"Reference","count":282},{"language":"default","tag":"Build Search UI","count":235},{"language":"default","tag":"Search","count":187},{"language":"default","tag":"React InstantSearch","count":169}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--radius: 0.5rem;--rounded-2xl: var(--radius);--rounded-xl: var(--radius);--rounded-lg: var(--radius);--rounded-md: var(--radius);--rounded-full: var(--radius);--icon-stroke: #000000;--border-color: rgb(var(--gray-200) / 0.5);--font-weight-headings-custom: 700;--docsearch-background-color: #f5f6f7;--filters-token-string-color: #b46900;--filters-token-error-color: #d7263d;--filters-token-paren-color: #005cc5;--filters-token-num-color: #6f42c1;--filters-token-operator-color: #22863a;--docsearch-sidepanel-border: var(--border-color);--docsearch-sidepanel-background: rgb(244, 246, 250);--docsearch-sidepanel-background-dark: #fff;--docsearch-hit-background-muted: rgb(247, 247, 248);--docsearch-searchbox-focus-background: #fff}:root.dark,html[data-theme=dark]{--icon-stroke: #ffffff;--border-color: rgb(var(--gray-900) / 0.8);--docsearch-background-color: #0a0b11 !important;--docsearch-dropdown-menu-background: #10121e;--docsearch-dropdown-menu-item-hover-background: #0a0b11;--docsearch-hit-color: #e5e7eb;--filters-token-string-color: #ffa657;--filters-token-error-color: #ff6b6b;--filters-token-paren-color: #79c0ff;--filters-token-num-color: #d2a8ff;--filters-token-operator-color: #7ee787;--docsearch-sidepanel-background: rgb(15, 17, 23);--docsearch-sidepanel-background-dark: rgba(11, 13, 17, 1);--docsearch-hit-background-muted: rgb(14, 17, 23);--docsearch-modal-background: #0a0b11;--docsearch-hit-focus-background: rgb(var(--gray-900))}.rounded-\\[0\\.85rem\\]{border-radius:var(--radius)}#banner{background-color:#23263b}#banner a{color:inherit}#background-div{background-color:#f6f6fa}.dark #background-div{background-color:#ffffff;opacity:0.03}#pagination{display:none}.background-lines{fill:#c5c9e0}.dark .background-lines{fill:#ffffff;fill-opacity:0.15}th{text-align:left}.tooltip{user-select:text}.prose a{font-weight:inherit}.prose a strong{font-weight:600}.katex-display>.katex{overflow-y:hidden}.prose a.link[href^=\"http\"]:not([href^=\"https://www.algolia.com/doc\"]){white-space:nowrap}.prose a.link[href^=\"http\"]:not([href^=\"https://www.algolia.com/doc\"])::after{display:inline-block;width:14px;height:14px;margin-left:4px;vertical-align:-2px;content:\"\";background-color:currentColor;-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E\u003cpath d='M15 3h6v6'/%3E\u003cpath d='M10 14 21 3'/%3E\u003cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E\u003cpath d='M15 3h6v6'/%3E\u003cpath d='M10 14 21 3'/%3E\u003cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\") center / contain no-repeat}.prose h2 code,.prose h3 code,.prose h4 code{font-weight:700}.prose table a code{word-break:keep-all}[data-component-part=\"field-content\"]{margin-left:1.5rem}[data-component-part=\"code-block-root\"]{border-radius:var(--radius)}#content-area img{margin-inline:auto;background:transparent!important}#content-area img:not(.no-shadow){box-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1)}#content-area video{margin-inline:auto}.video-embed{display:block;width:100%;min-width:0;max-width:var(--video-embed-max-width, 644px);aspect-ratio:16 / 9;height:auto;margin-inline:auto}button+div[aria-hidden=\"true\"]{background-color:#23263b;border-radius:var(--radius);box-shadow:0 0 0 1px #23263b0d, 0 4px 8px -2px #23263b40;color:#fff;padding:.5rem .75rem}#feedback-toolbar button{border-radius:var(--radius)}html.no-overflow{overflow:hidden}body.DocSearch--active{overflow:initial!important}.DocSearch-Container{visibility:hidden;opacity:0;transition:opacity 120ms ease;padding-top:5vh;position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.1);display:flex;align-items:flex-start;justify-content:center;z-index:200;cursor:initial}.DocSearch-Container.docsearch-ready{visibility:visible;opacity:1}.dark .DocSearch-Form,.dark .DocSearch-SearchBar{background-color:transparent!important}.DocSearch-Dropdown{border-top:1px solid var(--docsearch-subtle-color);scrollbar-color:#9698c3 #f5f6f7;scrollbar-width:thin}.dark .DocSearch-Container{--docsearch-text-color: #c4c7dc}.dark .DocSearch-Dropdown{scrollbar-color:#7f8497 #15172a}.dark .DocSearch-Close{color:#5172FF}.dark .DocSearch-Close svg{color:#5172FF}.dark .DocSearch-MagnifierLabel svg{color:#5172FF}.DocSearch-SidepanelButton.floating{display:none}.dark .DocSearch-Dropdown{border-color:#212139}.dark .DocSearch-Divider{border-color:#212139}.dark .DocSearch-Input{color:white;caret-color:white}.dark .DocSearch-Container{background-color:rgba(0, 0, 0, 0.6)!important}.dark .DocSearch-SearchBar,.dark .DocSearch-Form,.dark .DocSearch-Input{color:#ffffff!important}.dark .DocSearch-Input::placeholder{color:#ffffff!important;opacity:0.9}.dark .DocSearch-Reset,.dark .DocSearch-Reset span,.dark .DocSearch-Reset svg,.dark .DocSearch-Close,.dark .DocSearch-Close svg{color:#5172ff!important;fill:#5172ff!important;stroke:#5172ff!important}.dark .DocSearch-Cancel,.dark .DocSearch-Cancel svg{color:#ffffff!important;fill:#ffffff!important;stroke:#ffffff!important}.dark .DocSearch-MagnifierLabel,.dark .DocSearch-MagnifierLabel svg{color:#5172ff!important;fill:#5172ff!important;stroke:#5172ff!important}.dark .DocSearch-Dropdown{background-color:#0a0b11!important}.dark .DocSearch-Hits mark{background-color:transparent!important;color:#7aa2ff!important}.dark .DocSearch-Hit a{color:#e5e7eb!important;border-color:#1b1e29!important}.dark .DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.dark .DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon{color:#7aa2ff}.dark .DocSearch-Title,.dark .DocSearch-Label{background-color:#0f1117!important}.dark .DocSearch-Title,.dark .DocSearch-Label,.dark .DocSearch-Hit-source{color:#e5e7eb!important}.dark .DocSearch-Footer{background-color:#0f1117!important;border-top:1px solid #1b1e29!important;color:#cbd5e1!important}.DocSearch-Hit--AskAI .DocSearch-AskAiScreen-Response .DocSearch-AskAiScreen-RelatedSources-Item-Link{background:var(--docsearch-hit-background-muted)!important}.DocSearch-Hit-AskAIButton-title-query{color:var(--docsearch-highlight-color)}.dark .DocSearch-Hit-AskAIButton-title-query{color:#7aa2ff!important}.dark .DocSearch-AskAiScreen-Response{color:#f5f6f7!important}.dark .DocSearch-Markdown-Content,.dark .DocSearch-Markdown-Content li{color:#cbd5e1!important}.dark .DocSearch-Markdown-Content a{color:#7aa2ff!important}.dark .DocSearch-AskAiScreen-RelatedSources-Item-Link{color:#cbd5e1}.dark .DocSearch-AskAiScreen-Response .DocSearch-CodeSnippet .DocSearch-CodeSnippet-CopyButton{background-color:#0f1117!important;color:#cbd5e1!important}.dark .DocSearch-AskAiScreen-Response .DocSearch-CodeSnippet pre{background-color:#0f1117!important;color:#e5e7eb!important}.dark .DocSearch-AskAiScreen-Response .DocSearch-CodeSnippet pre code{background-color:transparent!important;color:inherit!important}.DocSearch-Modal{position:relative;overflow:hidden;width:700px;max-width:90vw;border-radius:var(--radius);box-shadow:0 4px 12px rgba(0, 0, 0, 0.15)}.docsearch-expanded .DocSearch-Modal{max-height:auto;border-radius:var(--radius);box-shadow:0 25px 50px -12px rgba(0, 0, 0, 0.25)}@media (max-width: 768px){.DocSearch-Container{padding-top:0}.DocSearch-Modal{width:100vw;max-width:100vw;border-radius:var(--radius)}.docsearch-expanded .DocSearch-Modal{max-height:100vh;border-radius:var(--radius)}.DocSearch-Dropdown{height:calc(100vh - var(--docsearch-footer-height) - var(--docsearch-searchbox-height, var(--docsearch-searchbox-initial-height)))}.docsearch-sidepanel-toggle .docsearch-sidepanel-label,.docsearch-sidepanel-toggle .docsearch-sidepanel-shortcut{display:none}.docsearch-sidepanel-toggle{padding:0 0.5rem}}@media (min-width: 769px){.docsearch-sidepanel-toggle{border:1px solid transparent;box-shadow:0 0 0 1px rgba(156, 163, 175, 0.3)}.docsearch-sidepanel-toggle:hover{box-shadow:0 0 0 1px rgba(75, 85, 99, 0.3)}html.dark .docsearch-sidepanel-toggle{box-shadow:0 0 0 1px rgba(75, 85, 99, 0.3)}html.dark .docsearch-sidepanel-toggle:hover{box-shadow:0 0 0 1px rgba(107, 114, 128, 0.3)}}.DocSearch-Sidepanel-Header{height:3.0rem}.DocSearch-Sidepanel-Container.inline.side-right{border-bottom-left-radius:0;border-left:1px solid var(--docsearch-sidepanel-border);border-top-left-radius:0}.DocSearch-Sidepanel-Container{box-shadow:none}.DocSearch-MCP-Callout{font-size:0.875em;display:flex;align-items:center;gap:0.25rem;color:var(--docsearch-text-color);padding-inline:0.25rem 0.5rem;padding-block:0.25rem;border-radius:var(--docsearch-border-radius);background-color:var(--docsearch-hit-focus-background);min-block-size:1.5rem}.DocSearch-MCP-Callout:hover,.DocSearch-MCP-Callout:focus-visible{outline:2px solid var(--docsearch-highlight-color)}.DocSearch-MCP-Callout svg{height:1rem;width:1rem;color:var(--docsearch-highlight-color);margin-block-start:1px}html.dark #filter-validator{background-color:var(--shiki-dark-bg)}#filter-validator{.Token_EOF {\n color: transparent;\n }\n\n .Token_Empty_Str,\n .Token_Incomplete_Str,\n .Token_String,\n .Token_Term {\n color: var(--filters-token-string-color);\n }\n\n .Token_Error {\n color: var(--filters-token-error-color);\n }\n\n .Token_Open_Paren,\n .Token_Close_Paren,\n .Token_Open_Angled_Bracket,\n .Token_Close_Angled_Bracket,\n .Token_Comma,\n .Token_Facet_Separator {\n color: var(--filters-token-paren-color);\n }\n\n .Token_Num {\n color: var(--filters-token-num-color);\n }\n\n .Token_OR,\n .Token_AND,\n .Token_NOT,\n .Token_Operator,\n .Token_Range {\n color: var(--filters-token-operator-color);\n }}.nav-tag-pill-text{text-transform:uppercase;letter-spacing:1px}[data-group-tag]>button>div{display:flex;align-items:center;gap:0.5rem}.steps .step .prose ol{list-style-type:lower-alpha}.no-bullets ul{margin-top:1rem;padding-left:0;margin-left:0;list-style:none}@layer components{.prose .no-bullets li{margin:0.5rem 0;margin-left:0!important;padding-left:0!important;list-style:none}}.no-bullets a.link{border-bottom-color:transparent}.no-bullets a.link:hover,.no-bullets a.link:focus-visible{border-bottom-color:rgb(57, 112, 255)}.no-bullets li::before{content:none!important}.homepage-hero{background-color:#23263b;background-image:linear-gradient(\n 90deg,\n rgba(12, 30, 69, 0.82) 0%,\n rgba(12, 30, 69, 0.72) 34%,\n rgba(12, 30, 69, 0.58) 58%,\n rgba(12, 30, 69, 0.44) 100%\n ),\n url(\"/mintlify-assets/hero.png\");background-position:center, 72% center;background-repeat:no-repeat;background-size:cover}@supports (background-image: image-set(url(\"/mintlify-assets/hero.webp\") type(\"image/webp\") 1x)){.homepage-hero{background-image:linear-gradient(\n 90deg,\n rgba(12, 30, 69, 0.82) 0%,\n rgba(12, 30, 69, 0.72) 34%,\n rgba(12, 30, 69, 0.58) 58%,\n rgba(12, 30, 69, 0.44) 100%\n ),\n image-set(\n url(\"/mintlify-assets/hero.webp\") type(\"image/webp\") 1x,\n url(\"/mintlify-assets/hero.png\") type(\"image/png\") 1x\n )}}@supports (background-image: -webkit-image-set(url(\"/mintlify-assets/hero.webp\") type(\"image/webp\") 1x)){.homepage-hero{background-image:linear-gradient(\n 90deg,\n rgba(12, 30, 69, 0.82) 0%,\n rgba(12, 30, 69, 0.72) 34%,\n rgba(12, 30, 69, 0.58) 58%,\n rgba(12, 30, 69, 0.44) 100%\n ),\n -webkit-image-set(\n url(\"/mintlify-assets/hero.webp\") type(\"image/webp\") 1x,\n url(\"/mintlify-assets/hero.png\") type(\"image/png\") 1x\n )}}.homepage-hero-cta{display:inline-flex;align-items:center;justify-content:center;gap:0;padding:0.5rem 0.875rem;border-radius:var(--radius);background:linear-gradient(220deg, rgb(69, 122, 255) 0%, rgb(30, 89, 255) 60.16%);color:#fff!important;font-family:Sora, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.5rem;letter-spacing:0.28px;text-decoration:none;transition:all 150ms ease}.homepage-hero-cta:hover{background:linear-gradient(138deg, rgba(118, 160, 255, 0.7) 0%, rgba(0, 61, 255, 0.7) 25.08%, rgba(151, 71, 255, 0.7) 56.38%, rgba(118, 160, 255, 0.7) 100%), rgb(0, 61, 255);color:#fff!important}@media (min-width: 1024px){.homepage-hero-cta{padding:0.75rem 1.25rem;font-size:1rem;letter-spacing:0.32px}}.sig-param-link{color:inherit;text-decoration:underline;text-decoration-style:dotted;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb, currentColor 45%, transparent);cursor:pointer;border-radius:2px;transition:text-decoration-color 120ms ease, text-decoration-thickness 120ms ease}.sig-param-link:hover,.sig-param-link:focus-visible,.line:has(.sig-param-link:hover) .sig-param-link,.line:has(.sig-param-link:focus-visible) .sig-param-link{text-decoration-style:solid;text-decoration-thickness:2px;text-decoration-color:currentColor;outline:none}.mint-flavor-switcher-slot{min-height:2.75rem;margin:0.25rem 0 1.5rem}.mint-flavor-switcher-slot .mint-flavor-switcher{margin:0}"}],"page":{"pagePath":"doc/rest-api/composition/put-composition-rule","slug":"/doc/rest-api/composition/put-composition-rule","pageMetadata":{"title":"Add or update a composition rule","description":"If a composition rule with the provided ID already exists, it's replaced.","openapi":"specs/composition.yml put /1/compositions/{compositionID}/rules/{objectID}","public":true,"href":"/doc/rest-api/composition/put-composition-rule"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"If a composition rule with the provided ID already exists, it’s replaced.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Otherwise, a new one is added.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required ACL:`}),` `,_jsx(_components.code,{children:`editSettings`})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Add or update a composition rule","description":"If a composition rule with the provided ID already exists, it's replaced.","openapi":"specs/composition.yml put /1/compositions/{compositionID}/rules/{objectID}","public":true,"href":"/doc/rest-api/composition/put-composition-rule"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/algolia/34bdaaeaccaa769c/docsearch.js","/_mintlify/custom/algolia/e18afef8ba6306ba/one-trust.js","/_mintlify/custom/algolia/5a5e6ade8ff45aec/utm-attribution.js","/_mintlify/custom/algolia/a4b9f2f416e55759/iframe-resize.js","/_mintlify/custom/algolia/dbca34a8de6b147e/instantsearch-api-signature-links.js","/_mintlify/custom/algolia/4e6ff31277aab3f2/segment-analytics.js","/_mintlify/custom/algolia/ae5f1d742fc727f6/optinmonster.js"],"openApiReferenceData":{"operation":{"tags":["Composition Rules"],"operationId":"putCompositionRule","x-acl":["editSettings"],"summary":"Add or update a composition rule","description":"If a composition rule with the provided ID already exists, it's replaced.","parameters":["19831d7b-40b3-49d9-aa69-30c51f629659","031e8e94-a6b8-46b1-a640-c07886b2f6c7"],"requestBody":"7fe187d4-b076-4372-9b75-2d68304abe75","responses":{"200":"57a41df1-b4bd-4670-bb52-a28008b82a49","400":"027a4e8a-dcbb-412c-9029-040a7eb4daf3","402":"a689451b-2501-4dab-9d14-eea51e866493","403":"1fbfd262-79a7-46b6-b4bf-fda6f6509f98","404":"d657383f-79c8-4d67-95a6-e6b11a3e2cef","422":"f1a668e9-c08e-46e2-82e8-7fac58bfc8e7"},"x-codeSamples":[{"lang":"csharp","label":"C#","source":"// Initialize the client\nvar client = new CompositionClient(\n new CompositionConfig(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\")\n);\n\n// Call the API\nvar response = await client.PutCompositionRuleAsync(\n \"compositionID\",\n \"rule-with-external-provider-source\",\n new CompositionRule\n {\n ObjectID = \"rule-with-external-provider-source\",\n Conditions = new List\u003cCondition>\n {\n new Condition { Anchoring = Enum.Parse\u003cAnchoring>(\"Contains\"), Pattern = \"harry\" },\n },\n Consequence = new CompositionRuleConsequence\n {\n Behavior = new CompositionBehavior(\n new CompositionInjectionBehavior\n {\n Injection = new Injection\n {\n Main = new InjectionMain\n {\n Source = new InjectionMainSource(\n new InjectionMainSearchSource\n {\n Search = new InjectionMainSearch { Index = \"my-index\" },\n }\n ),\n },\n InjectedItems = new List\u003cInjectionInjectedItem>\n {\n new InjectionInjectedItem\n {\n Key = \"my-unique-external-provider-group-from-rule-key\",\n Source = new InjectedItemSource(\n new InjectedItemExternalProviderSource\n {\n ExternalProvider = new InjectedItemExternalProvider\n {\n Index = \"my-index\",\n ConfigurationID = \"my-rmn-connection\",\n ConfigurationParams = new Dictionary\u003cstring, object>\n {\n { \"campaign_id\", \"summer-sale\" },\n },\n Ordering = Enum.Parse\u003cExternalProviderOrdering>(\"ProviderDefined\"),\n },\n }\n ),\n Position = 0,\n Length = 3,\n },\n },\n },\n }\n ),\n },\n }\n);\n\n// print the response\nConsole.WriteLine(response);"},{"lang":"dart","label":"Dart","source":"// Initialize the client\nfinal client = CompositionClient(\n appId: 'ALGOLIA_APPLICATION_ID', apiKey: 'ALGOLIA_API_KEY');\n\n// Call the API\nfinal response = await client.putCompositionRule(\n compositionID: \"compositionID\",\n objectID: \"rule-with-external-provider-source\",\n compositionRule: CompositionRule(\n objectID: \"rule-with-external-provider-source\",\n conditions: [\n Condition(\n anchoring: Anchoring.fromJson(\"contains\"),\n pattern: \"harry\",\n ),\n ],\n consequence: CompositionRuleConsequence(\n behavior: CompositionInjectionBehavior(\n injection: Injection(\n main: InjectionMain(\n source: InjectionMainSearchSource(\n search: InjectionMainSearch(\n index: \"my-index\",\n ),\n ),\n ),\n injectedItems: [\n InjectionInjectedItem(\n key: \"my-unique-external-provider-group-from-rule-key\",\n source: InjectedItemExternalProviderSource(\n externalProvider: InjectedItemExternalProvider(\n index: \"my-index\",\n configurationID: \"my-rmn-connection\",\n configurationParams: {\n 'campaign_id': \"summer-sale\",\n },\n ordering:\n ExternalProviderOrdering.fromJson(\"providerDefined\"),\n ),\n ),\n position: 0,\n length: 3,\n ),\n ],\n ),\n ),\n ),\n ),\n);\n\n// print the response\nprint(response);"},{"lang":"go","label":"Go","source":"// Initialize the client\nclient, err := composition.NewClient(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\")\nif err != nil {\n // The client can fail to initialize if you pass an invalid parameter.\n panic(err)\n}\n\n// Call the API\nresponse, err := client.PutCompositionRule(client.NewApiPutCompositionRuleRequest(\n \"compositionID\", \"rule-with-external-provider-source\",\n composition.NewEmptyCompositionRule().SetObjectID(\"rule-with-external-provider-source\").SetConditions(\n []composition.Condition{\n *composition.NewEmptyCondition().SetAnchoring(composition.Anchoring(\"contains\")).SetPattern(\"harry\"),\n }).\n SetConsequence(\n composition.NewEmptyCompositionRuleConsequence().SetBehavior(composition.CompositionInjectionBehaviorAsCompositionBehavior(\n composition.NewEmptyCompositionInjectionBehavior().SetInjection(\n composition.NewEmptyInjection().SetMain(\n composition.NewEmptyInjectionMain().SetSource(composition.InjectionMainSearchSourceAsInjectionMainSource(\n composition.NewEmptyInjectionMainSearchSource().SetSearch(\n composition.NewEmptyInjectionMainSearch().SetIndex(\"my-index\"))))).SetInjectedItems(\n []composition.InjectionInjectedItem{\n *composition.NewEmptyInjectionInjectedItem().SetKey(\"my-unique-external-provider-group-from-rule-key\").SetSource(composition.InjectedItemExternalProviderSourceAsInjectedItemSource(\n composition.NewEmptyInjectedItemExternalProviderSource().SetExternalProvider(\n composition.NewEmptyInjectedItemExternalProvider().SetIndex(\"my-index\").SetConfigurationID(\"my-rmn-connection\").SetConfigurationParams(map[string]any{\"campaign_id\": \"summer-sale\"}).SetOrdering(composition.ExternalProviderOrdering(\"providerDefined\"))))).SetPosition(0).SetLength(3),\n }),\n ))))))\nif err != nil {\n // handle the eventual error\n panic(err)\n}\n\n\n// print the response\nprint(response)"},{"lang":"java","label":"Java","source":"// Initialize the client\nCompositionClient client = new CompositionClient(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\");\n\n// Call the API\nTaskIDResponse response = client.putCompositionRule(\n \"compositionID\",\n \"rule-with-external-provider-source\",\n new CompositionRule()\n .setObjectID(\"rule-with-external-provider-source\")\n .setConditions(Arrays.asList(new Condition().setAnchoring(Anchoring.CONTAINS).setPattern(\"harry\")))\n .setConsequence(\n new CompositionRuleConsequence().setBehavior(\n new CompositionInjectionBehavior().setInjection(\n new Injection()\n .setMain(\n new InjectionMain().setSource(new InjectionMainSearchSource().setSearch(new InjectionMainSearch().setIndex(\"my-index\")))\n )\n .setInjectedItems(\n Arrays.asList(\n new InjectionInjectedItem()\n .setKey(\"my-unique-external-provider-group-from-rule-key\")\n .setSource(\n new InjectedItemExternalProviderSource().setExternalProvider(\n new InjectedItemExternalProvider()\n .setIndex(\"my-index\")\n .setConfigurationID(\"my-rmn-connection\")\n .setConfigurationParams(\n new HashMap() {\n {\n put(\"campaign_id\", \"summer-sale\");\n }\n }\n )\n .setOrdering(ExternalProviderOrdering.PROVIDER_DEFINED)\n )\n )\n .setPosition(0)\n .setLength(3)\n )\n )\n )\n )\n )\n);\n\n// print the response\nSystem.out.println(response);"},{"lang":"javascript","label":"JavaScript","source":"// Initialize the client\nconst client = compositionClient('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY');\n\n// Call the API\nconst response = await client.putCompositionRule({\n compositionID: 'compositionID',\n objectID: 'rule-with-external-provider-source',\n compositionRule: {\n objectID: 'rule-with-external-provider-source',\n conditions: [{ anchoring: 'contains', pattern: 'harry' }],\n consequence: {\n behavior: {\n injection: {\n main: { source: { search: { index: 'my-index' } } },\n injectedItems: [\n {\n key: 'my-unique-external-provider-group-from-rule-key',\n source: {\n externalProvider: {\n index: 'my-index',\n configurationID: 'my-rmn-connection',\n configurationParams: { campaign_id: 'summer-sale' },\n ordering: 'providerDefined',\n },\n },\n position: 0,\n length: 3,\n },\n ],\n },\n },\n },\n },\n});\n\n\n// print the response\nconsole.log(response);"},{"lang":"kotlin","label":"Kotlin","source":"// Initialize the client\nval client = CompositionClient(appId = \"ALGOLIA_APPLICATION_ID\", apiKey = \"ALGOLIA_API_KEY\")\n\n// Call the API\nvar response =\n client.putCompositionRule(\n compositionID = \"compositionID\",\n objectID = \"rule-with-external-provider-source\",\n compositionRule =\n CompositionRule(\n objectID = \"rule-with-external-provider-source\",\n conditions =\n listOf(\n Condition(\n anchoring = Anchoring.entries.first { it.value == \"contains\" },\n pattern = \"harry\",\n )\n ),\n consequence =\n CompositionRuleConsequence(\n behavior =\n CompositionInjectionBehavior(\n injection =\n Injection(\n main =\n InjectionMain(\n source =\n InjectionMainSearchSource(\n search = InjectionMainSearch(index = \"my-index\")\n )\n ),\n injectedItems =\n listOf(\n InjectionInjectedItem(\n key = \"my-unique-external-provider-group-from-rule-key\",\n source =\n InjectedItemExternalProviderSource(\n externalProvider =\n InjectedItemExternalProvider(\n index = \"my-index\",\n configurationID = \"my-rmn-connection\",\n configurationParams =\n buildJsonObject {\n put(\"campaign_id\", JsonPrimitive(\"summer-sale\"))\n },\n ordering =\n ExternalProviderOrdering.entries.first {\n it.value == \"providerDefined\"\n },\n )\n ),\n position = 0,\n length = 3,\n )\n ),\n )\n )\n ),\n ),\n )\n\n\n// print the response\nprintln(response)"},{"lang":"php","label":"PHP","source":"// Initialize the client\n$client = CompositionClient::create('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY');\n\n// Call the API\n$response = $client->putCompositionRule(\n 'compositionID',\n 'rule-with-external-provider-source',\n ['objectID' => 'rule-with-external-provider-source',\n 'conditions' => [\n ['anchoring' => 'contains',\n 'pattern' => 'harry',\n ],\n ],\n 'consequence' => ['behavior' => ['injection' => ['main' => ['source' => ['search' => ['index' => 'my-index',\n ],\n ],\n ],\n 'injectedItems' => [\n ['key' => 'my-unique-external-provider-group-from-rule-key',\n 'source' => ['externalProvider' => ['index' => 'my-index',\n 'configurationID' => 'my-rmn-connection',\n 'configurationParams' => ['campaign_id' => 'summer-sale',\n ],\n 'ordering' => 'providerDefined',\n ],\n ],\n 'position' => 0,\n 'length' => 3,\n ],\n ],\n ],\n ],\n ],\n ],\n);\n\n\n// print the response\nvar_dump($response);"},{"lang":"python","label":"Python","source":"# Initialize the client\n# In an asynchronous context, you can use CompositionClient instead, which exposes the exact same methods.\nclient = CompositionClientSync(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\")\n\n# Call the API\nresponse = client.put_composition_rule(\n composition_id=\"compositionID\",\n object_id=\"rule-with-external-provider-source\",\n composition_rule={\n \"objectID\": \"rule-with-external-provider-source\",\n \"conditions\": [\n {\n \"anchoring\": \"contains\",\n \"pattern\": \"harry\",\n },\n ],\n \"consequence\": {\n \"behavior\": {\n \"injection\": {\n \"main\": {\n \"source\": {\n \"search\": {\n \"index\": \"my-index\",\n },\n },\n },\n \"injectedItems\": [\n {\n \"key\": \"my-unique-external-provider-group-from-rule-key\",\n \"source\": {\n \"externalProvider\": {\n \"index\": \"my-index\",\n \"configurationID\": \"my-rmn-connection\",\n \"configurationParams\": {\n \"campaign_id\": \"summer-sale\",\n },\n \"ordering\": \"providerDefined\",\n },\n },\n \"position\": 0,\n \"length\": 3,\n },\n ],\n },\n },\n },\n },\n)\n\n\n# print the response\nprint(response)"},{"lang":"ruby","label":"Ruby","source":"# Initialize the client\nclient = Algolia::CompositionClient.create(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\")\n\n# Call the API\nresponse = client.put_composition_rule(\n \"compositionID\",\n \"rule-with-external-provider-source\",\n Algolia::Composition::CompositionRule.new(\n algolia_object_id: \"rule-with-external-provider-source\",\n conditions: [Algolia::Composition::Condition.new(anchoring: \"contains\", pattern: \"harry\")],\n consequence: Algolia::Composition::CompositionRuleConsequence.new(\n behavior: Algolia::Composition::CompositionInjectionBehavior.new(\n injection: Algolia::Composition::Injection.new(\n main: Algolia::Composition::InjectionMain.new(\n source: Algolia::Composition::InjectionMainSearchSource.new(\n search: Algolia::Composition::InjectionMainSearch.new(index: \"my-index\")\n )\n ),\n injected_items: [\n Algolia::Composition::InjectionInjectedItem.new(\n key: \"my-unique-external-provider-group-from-rule-key\",\n source: Algolia::Composition::InjectedItemExternalProviderSource.new(\n external_provider: Algolia::Composition::InjectedItemExternalProvider.new(\n index: \"my-index\",\n configuration_id: \"my-rmn-connection\",\n configuration_params: {campaign_id: \"summer-sale\"},\n ordering: \"providerDefined\"\n )\n ),\n position: 0,\n length: 3\n )\n ]\n )\n )\n )\n )\n)\n\n\n# print the response\nputs(response)"},{"lang":"scala","label":"Scala","source":"// Initialize the client\nval client = CompositionClient(appId = \"ALGOLIA_APPLICATION_ID\", apiKey = \"ALGOLIA_API_KEY\")\n\n// Call the API\nval response = Await.result(\n client.putCompositionRule(\n compositionID = \"compositionID\",\n objectID = \"rule-with-external-provider-source\",\n compositionRule = CompositionRule(\n objectID = \"rule-with-external-provider-source\",\n conditions = Some(\n Seq(\n Condition(\n anchoring = Some(Anchoring.withName(\"contains\")),\n pattern = Some(\"harry\")\n )\n )\n ),\n consequence = CompositionRuleConsequence(\n behavior = CompositionInjectionBehavior(\n injection = Injection(\n main = InjectionMain(\n source = Some(\n InjectionMainSearchSource(\n search = InjectionMainSearch(\n index = \"my-index\"\n )\n )\n )\n ),\n injectedItems = Some(\n Seq(\n InjectionInjectedItem(\n key = \"my-unique-external-provider-group-from-rule-key\",\n source = InjectedItemExternalProviderSource(\n externalProvider = InjectedItemExternalProvider(\n index = \"my-index\",\n configurationID = \"my-rmn-connection\",\n configurationParams = Some(Map(\"campaign_id\" -> \"summer-sale\")),\n ordering = Some(ExternalProviderOrdering.withName(\"providerDefined\"))\n )\n ),\n position = 0,\n length = 3\n )\n )\n )\n )\n )\n )\n )\n ),\n Duration(100, \"sec\")\n)\n\n// print the response\nprintln(response)"},{"lang":"swift","label":"Swift","source":"// Initialize the client\nlet client = try CompositionClient(appID: \"ALGOLIA_APPLICATION_ID\", apiKey: \"ALGOLIA_API_KEY\")\n\n// Call the API\nlet response = try await client.putCompositionRule(\n compositionID: \"compositionID\",\n objectID: \"rule-with-external-provider-source\",\n compositionRule: CompositionRule(\n objectID: \"rule-with-external-provider-source\",\n conditions: [CompositionCondition(pattern: \"harry\", anchoring: CompositionAnchoring.contains)],\n consequence: CompositionRuleConsequence(behavior: CompositionBehavior\n .compositionInjectionBehavior(CompositionInjectionBehavior(injection: Injection(\n main: InjectionMain(source: InjectionMainSource\n .injectionMainSearchSource(\n InjectionMainSearchSource(search: InjectionMainSearch(index: \"my-index\"))\n )),\n injectedItems: [InjectionInjectedItem(\n key: \"my-unique-external-provider-group-from-rule-key\",\n source: InjectedItemSource\n .injectedItemExternalProviderSource(\n InjectedItemExternalProviderSource(externalProvider: InjectedItemExternalProvider(\n index: \"my-index\",\n configurationID: \"my-rmn-connection\",\n configurationParams: [\"campaign_id\": AnyCodable(\"summer-sale\")],\n ordering: ExternalProviderOrdering.providerDefined\n ))\n ),\n position: 0,\n length: 3\n )]\n ))))\n )\n)\n\n// print the response\nprint(response)"},{"lang":"cURL","label":"curl","source":"curl --request PUT \\\n --url https://algolia_application_id.algolia.net/1/compositions/my_composition_object_id/rules/lorem \\\n --header 'accept: application/json' \\\n --header 'content-type: application/json' \\\n --header 'x-algolia-api-key: ALGOLIA_API_KEY' \\\n --header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID' \\\n --data '\n{\n \"objectID\": \"my_composition_rule_object_id\",\n \"conditions\": [\n {\n \"pattern\": \"{facet:genre}\",\n \"anchoring\": \"is\",\n \"context\": \"mobile\",\n \"filters\": \"genre:comedy\",\n \"sortBy\": \"price-low-to-high\"\n }\n ],\n \"consequence\": {\n \"behavior\": {\n \"injection\": {\n \"main\": {\n \"source\": {\n \"search\": {\n \"index\": \"Products\",\n \"params\": {\n \"advancedSyntax\": false,\n \"advancedSyntaxFeatures\": [\n \"exactPhrase\",\n \"excludeWords\"\n ],\n \"allowTyposOnNumericTokens\": true,\n \"alternativesAsExact\": [\n \"ignorePlurals\",\n \"singleWordSynonym\"\n ],\n \"attributeCriteriaComputedByMinProximity\": false,\n \"attributesToHighlight\": [\n \"author\",\n \"title\",\n \"conten\",\n \"content\"\n ],\n \"attributesToRetrieve\": [\n \"author\",\n \"title\",\n \"content\"\n ],\n \"attributesToSnippet\": [\n \"content:80\",\n \"description\"\n ],\n \"clickAnalytics\": false,\n \"disableExactOnAttributes\": [\n \"description\"\n ],\n \"disableTypoToleranceOnAttributes\": [\n \"sku\"\n ],\n \"distinct\": 1,\n \"enableABTest\": true,\n \"enablePersonalization\": false,\n \"enableReRanking\": true,\n \"enableRules\": true,\n \"exactOnSingleWordQuery\": \"attribute\",\n \"facetFilters\": [\n [\n \"category:Book\",\n \"category:-Movie\"\n ],\n \"author:John Doe\"\n ],\n \"filters\": \"(category:Book OR category:Ebook) AND _tags:published\",\n \"getRankingInfo\": false,\n \"highlightPostTag\": \"\u003c/em>\",\n \"highlightPreTag\": \"\u003cem>\",\n \"ignorePlurals\": [\n \"ca\",\n \"es\"\n ],\n \"minProximity\": 1,\n \"minWordSizefor1Typo\": 4,\n \"minWordSizefor2Typos\": 8,\n \"naturalLanguages\": [],\n \"numericFilters\": [\n [\n \"inStock = 1\",\n \"deliveryDate \u003c 1441755506\"\n ],\n \"price \u003c 1000\"\n ],\n \"optionalFilters\": [\n \"category:Book\",\n \"author:John Doe\"\n ],\n \"optionalWords\": \"lorem\",\n \"percentileComputation\": true,\n \"personalizationImpact\": 100,\n \"queryLanguages\": [\n \"es\"\n ],\n \"queryType\": \"prefixLast\",\n \"removeStopWords\": [\n \"ca\",\n \"es\"\n ],\n \"removeWordsIfNoResults\": \"firstWords\",\n \"replaceSynonymsInHighlight\": false,\n \"responseFields\": [\n \"*\"\n ],\n \"restrictHighlightAndSnippetArrays\": false,\n \"restrictSearchableAttributes\": [\n \"title\",\n \"author\"\n ],\n \"ruleContexts\": [\n \"mobile\"\n ],\n \"snippetEllipsisText\": \"…\",\n \"synonyms\": true,\n \"typoTolerance\": true,\n \"facetingAfterDistinct\": false,\n \"facets\": [\n \"category\",\n \"disjunctive(brand)\",\n \"price\"\n ],\n \"hitsPerPage\": 20,\n \"maxValuesPerFacet\": 100,\n \"renderingContent\": {\n \"facetOrdering\": {\n \"facets\": {\n \"order\": [\n \"lorem\"\n ]\n },\n \"values\": {\n \"property1\": {\n \"order\": [\n \"lorem\"\n ],\n \"sortRemainingBy\": \"count\",\n \"hide\": [\n \"lorem\"\n ]\n },\n \"property2\": {\n \"order\": [\n \"lorem\"\n ],\n \"sortRemainingBy\": \"count\",\n \"hide\": [\n \"lorem\"\n ]\n }\n }\n },\n \"redirect\": {\n \"url\": \"lorem\"\n },\n \"widgets\": {\n \"banners\": [\n {\n \"image\": {\n \"urls\": [\n {\n \"url\": \"lorem\"\n }\n ],\n \"title\": \"lorem\"\n },\n \"link\": {\n \"url\": \"lorem\"\n }\n }\n ],\n \"resultCard\": {\n \"enabled\": true\n }\n }\n },\n \"sortFacetValuesBy\": \"count\",\n \"sumOrFiltersScores\": false\n }\n }\n }\n },\n \"injectedItems\": [\n {\n \"key\": \"lorem\",\n \"source\": {\n \"search\": {\n \"index\": \"Products\",\n \"params\": {\n \"advancedSyntax\": false,\n \"advancedSyntaxFeatures\": [\n \"exactPhrase\",\n \"excludeWords\"\n ],\n \"allowTyposOnNumericTokens\": true,\n \"alternativesAsExact\": [\n \"ignorePlurals\",\n \"singleWordSynonym\"\n ],\n \"attributeCriteriaComputedByMinProximity\": false,\n \"attributesToHighlight\": [\n \"author\",\n \"title\",\n \"conten\",\n \"content\"\n ],\n \"attributesToRetrieve\": [\n \"author\",\n \"title\",\n \"content\"\n ],\n \"attributesToSnippet\": [\n \"content:80\",\n \"description\"\n ],\n \"clickAnalytics\": false,\n \"disableExactOnAttributes\": [\n \"description\"\n ],\n \"disableTypoToleranceOnAttributes\": [\n \"sku\"\n ],\n \"distinct\": 1,\n \"enableABTest\": true,\n \"enablePersonalization\": false,\n \"enableReRanking\": true,\n \"enableRules\": true,\n \"exactOnSingleWordQuery\": \"attribute\",\n \"facetFilters\": [\n [\n \"category:Book\",\n \"category:-Movie\"\n ],\n \"author:John Doe\"\n ],\n \"filters\": \"(category:Book OR category:Ebook) AND _tags:published\",\n \"getRankingInfo\": false,\n \"highlightPostTag\": \"\u003c/em>\",\n \"highlightPreTag\": \"\u003cem>\",\n \"ignorePlurals\": [\n \"ca\",\n \"es\"\n ],\n \"minProximity\": 1,\n \"minWordSizefor1Typo\": 4,\n \"minWordSizefor2Typos\": 8,\n \"naturalLanguages\": [],\n \"numericFilters\": [\n [\n \"inStock = 1\",\n \"deliveryDate \u003c 1441755506\"\n ],\n \"price \u003c 1000\"\n ],\n \"optionalFilters\": [\n \"category:Book\",\n \"author:John Doe\"\n ],\n \"optionalWords\": \"lorem\",\n \"percentileComputation\": true,\n \"personalizationImpact\": 100,\n \"queryLanguages\": [\n \"es\"\n ],\n \"queryType\": \"prefixLast\",\n \"removeStopWords\": [\n \"ca\",\n \"es\"\n ],\n \"removeWordsIfNoResults\": \"firstWords\",\n \"replaceSynonymsInHighlight\": false,\n \"responseFields\": [\n \"*\"\n ],\n \"restrictHighlightAndSnippetArrays\": false,\n \"restrictSearchableAttributes\": [\n \"title\",\n \"author\"\n ],\n \"ruleContexts\": [\n \"mobile\"\n ],\n \"snippetEllipsisText\": \"…\",\n \"synonyms\": true,\n \"typoTolerance\": true\n }\n }\n },\n \"position\": 0,\n \"length\": 0,\n \"metadata\": {\n \"hits\": {\n \"addItemKey\": true,\n \"extra\": {}\n }\n }\n }\n ],\n \"deduplication\": {\n \"positioning\": \"highest\"\n }\n }\n }\n },\n \"description\": \"Display a promotional banner\",\n \"enabled\": true,\n \"validity\": [\n {\n \"from\": 42,\n \"until\": 42\n }\n ],\n \"tags\": [\n \"conditional\"\n ]\n}\n'"}],"method":"put","type":"path","servers":["acd938a1-fc9c-4deb-b04d-50a01fc254c1","a506c671-b9b2-462b-9b93-296dc0d51f7a","bad38b1a-db38-43aa-991a-24a24c3bb6e6","9206cf69-1aed-41a7-9eb0-000a444c80cf","3b60dfe4-153c-4f08-a14c-2e871cbde860"],"security":["01e6a922-4c10-43f1-9186-8cd657d2fd01"],"path":"/1/compositions/{compositionID}/rules/{objectID}","baseUrlOptions":["https://{appId}.algolia.net","https://{appId}-1.algolianet.com","https://{appId}-2.algolianet.com","https://{appId}-3.algolianet.com","https://{appId}-dsn.algolia.net"],"title":"Add or update a composition rule","codeSamples":[{"label":"C#","lang":"csharp","source":"// Initialize the client\nvar client = new CompositionClient(\n new CompositionConfig(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\")\n);\n\n// Call the API\nvar response = await client.PutCompositionRuleAsync(\n \"compositionID\",\n \"rule-with-external-provider-source\",\n new CompositionRule\n {\n ObjectID = \"rule-with-external-provider-source\",\n Conditions = new List\u003cCondition>\n {\n new Condition { Anchoring = Enum.Parse\u003cAnchoring>(\"Contains\"), Pattern = \"harry\" },\n },\n Consequence = new CompositionRuleConsequence\n {\n Behavior = new CompositionBehavior(\n new CompositionInjectionBehavior\n {\n Injection = new Injection\n {\n Main = new InjectionMain\n {\n Source = new InjectionMainSource(\n new InjectionMainSearchSource\n {\n Search = new InjectionMainSearch { Index = \"my-index\" },\n }\n ),\n },\n InjectedItems = new List\u003cInjectionInjectedItem>\n {\n new InjectionInjectedItem\n {\n Key = \"my-unique-external-provider-group-from-rule-key\",\n Source = new InjectedItemSource(\n new InjectedItemExternalProviderSource\n {\n ExternalProvider = new InjectedItemExternalProvider\n {\n Index = \"my-index\",\n ConfigurationID = \"my-rmn-connection\",\n ConfigurationParams = new Dictionary\u003cstring, object>\n {\n { \"campaign_id\", \"summer-sale\" },\n },\n Ordering = Enum.Parse\u003cExternalProviderOrdering>(\"ProviderDefined\"),\n },\n }\n ),\n Position = 0,\n Length = 3,\n },\n },\n },\n }\n ),\n },\n }\n);\n\n// print the response\nConsole.WriteLine(response);"},{"label":"Dart","lang":"dart","source":"// Initialize the client\nfinal client = CompositionClient(\n appId: 'ALGOLIA_APPLICATION_ID', apiKey: 'ALGOLIA_API_KEY');\n\n// Call the API\nfinal response = await client.putCompositionRule(\n compositionID: \"compositionID\",\n objectID: \"rule-with-external-provider-source\",\n compositionRule: CompositionRule(\n objectID: \"rule-with-external-provider-source\",\n conditions: [\n Condition(\n anchoring: Anchoring.fromJson(\"contains\"),\n pattern: \"harry\",\n ),\n ],\n consequence: CompositionRuleConsequence(\n behavior: CompositionInjectionBehavior(\n injection: Injection(\n main: InjectionMain(\n source: InjectionMainSearchSource(\n search: InjectionMainSearch(\n index: \"my-index\",\n ),\n ),\n ),\n injectedItems: [\n InjectionInjectedItem(\n key: \"my-unique-external-provider-group-from-rule-key\",\n source: InjectedItemExternalProviderSource(\n externalProvider: InjectedItemExternalProvider(\n index: \"my-index\",\n configurationID: \"my-rmn-connection\",\n configurationParams: {\n 'campaign_id': \"summer-sale\",\n },\n ordering:\n ExternalProviderOrdering.fromJson(\"providerDefined\"),\n ),\n ),\n position: 0,\n length: 3,\n ),\n ],\n ),\n ),\n ),\n ),\n);\n\n// print the response\nprint(response);"},{"label":"Go","lang":"go","source":"// Initialize the client\nclient, err := composition.NewClient(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\")\nif err != nil {\n // The client can fail to initialize if you pass an invalid parameter.\n panic(err)\n}\n\n// Call the API\nresponse, err := client.PutCompositionRule(client.NewApiPutCompositionRuleRequest(\n \"compositionID\", \"rule-with-external-provider-source\",\n composition.NewEmptyCompositionRule().SetObjectID(\"rule-with-external-provider-source\").SetConditions(\n []composition.Condition{\n *composition.NewEmptyCondition().SetAnchoring(composition.Anchoring(\"contains\")).SetPattern(\"harry\"),\n }).\n SetConsequence(\n composition.NewEmptyCompositionRuleConsequence().SetBehavior(composition.CompositionInjectionBehaviorAsCompositionBehavior(\n composition.NewEmptyCompositionInjectionBehavior().SetInjection(\n composition.NewEmptyInjection().SetMain(\n composition.NewEmptyInjectionMain().SetSource(composition.InjectionMainSearchSourceAsInjectionMainSource(\n composition.NewEmptyInjectionMainSearchSource().SetSearch(\n composition.NewEmptyInjectionMainSearch().SetIndex(\"my-index\"))))).SetInjectedItems(\n []composition.InjectionInjectedItem{\n *composition.NewEmptyInjectionInjectedItem().SetKey(\"my-unique-external-provider-group-from-rule-key\").SetSource(composition.InjectedItemExternalProviderSourceAsInjectedItemSource(\n composition.NewEmptyInjectedItemExternalProviderSource().SetExternalProvider(\n composition.NewEmptyInjectedItemExternalProvider().SetIndex(\"my-index\").SetConfigurationID(\"my-rmn-connection\").SetConfigurationParams(map[string]any{\"campaign_id\": \"summer-sale\"}).SetOrdering(composition.ExternalProviderOrdering(\"providerDefined\"))))).SetPosition(0).SetLength(3),\n }),\n ))))))\nif err != nil {\n // handle the eventual error\n panic(err)\n}\n\n\n// print the response\nprint(response)"},{"label":"Java","lang":"java","source":"// Initialize the client\nCompositionClient client = new CompositionClient(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\");\n\n// Call the API\nTaskIDResponse response = client.putCompositionRule(\n \"compositionID\",\n \"rule-with-external-provider-source\",\n new CompositionRule()\n .setObjectID(\"rule-with-external-provider-source\")\n .setConditions(Arrays.asList(new Condition().setAnchoring(Anchoring.CONTAINS).setPattern(\"harry\")))\n .setConsequence(\n new CompositionRuleConsequence().setBehavior(\n new CompositionInjectionBehavior().setInjection(\n new Injection()\n .setMain(\n new InjectionMain().setSource(new InjectionMainSearchSource().setSearch(new InjectionMainSearch().setIndex(\"my-index\")))\n )\n .setInjectedItems(\n Arrays.asList(\n new InjectionInjectedItem()\n .setKey(\"my-unique-external-provider-group-from-rule-key\")\n .setSource(\n new InjectedItemExternalProviderSource().setExternalProvider(\n new InjectedItemExternalProvider()\n .setIndex(\"my-index\")\n .setConfigurationID(\"my-rmn-connection\")\n .setConfigurationParams(\n new HashMap() {\n {\n put(\"campaign_id\", \"summer-sale\");\n }\n }\n )\n .setOrdering(ExternalProviderOrdering.PROVIDER_DEFINED)\n )\n )\n .setPosition(0)\n .setLength(3)\n )\n )\n )\n )\n )\n);\n\n// print the response\nSystem.out.println(response);"},{"label":"JavaScript","lang":"javascript","source":"// Initialize the client\nconst client = compositionClient('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY');\n\n// Call the API\nconst response = await client.putCompositionRule({\n compositionID: 'compositionID',\n objectID: 'rule-with-external-provider-source',\n compositionRule: {\n objectID: 'rule-with-external-provider-source',\n conditions: [{ anchoring: 'contains', pattern: 'harry' }],\n consequence: {\n behavior: {\n injection: {\n main: { source: { search: { index: 'my-index' } } },\n injectedItems: [\n {\n key: 'my-unique-external-provider-group-from-rule-key',\n source: {\n externalProvider: {\n index: 'my-index',\n configurationID: 'my-rmn-connection',\n configurationParams: { campaign_id: 'summer-sale' },\n ordering: 'providerDefined',\n },\n },\n position: 0,\n length: 3,\n },\n ],\n },\n },\n },\n },\n});\n\n\n// print the response\nconsole.log(response);"},{"label":"Kotlin","lang":"kotlin","source":"// Initialize the client\nval client = CompositionClient(appId = \"ALGOLIA_APPLICATION_ID\", apiKey = \"ALGOLIA_API_KEY\")\n\n// Call the API\nvar response =\n client.putCompositionRule(\n compositionID = \"compositionID\",\n objectID = \"rule-with-external-provider-source\",\n compositionRule =\n CompositionRule(\n objectID = \"rule-with-external-provider-source\",\n conditions =\n listOf(\n Condition(\n anchoring = Anchoring.entries.first { it.value == \"contains\" },\n pattern = \"harry\",\n )\n ),\n consequence =\n CompositionRuleConsequence(\n behavior =\n CompositionInjectionBehavior(\n injection =\n Injection(\n main =\n InjectionMain(\n source =\n InjectionMainSearchSource(\n search = InjectionMainSearch(index = \"my-index\")\n )\n ),\n injectedItems =\n listOf(\n InjectionInjectedItem(\n key = \"my-unique-external-provider-group-from-rule-key\",\n source =\n InjectedItemExternalProviderSource(\n externalProvider =\n InjectedItemExternalProvider(\n index = \"my-index\",\n configurationID = \"my-rmn-connection\",\n configurationParams =\n buildJsonObject {\n put(\"campaign_id\", JsonPrimitive(\"summer-sale\"))\n },\n ordering =\n ExternalProviderOrdering.entries.first {\n it.value == \"providerDefined\"\n },\n )\n ),\n position = 0,\n length = 3,\n )\n ),\n )\n )\n ),\n ),\n )\n\n\n// print the response\nprintln(response)"},{"label":"PHP","lang":"php","source":"// Initialize the client\n$client = CompositionClient::create('ALGOLIA_APPLICATION_ID', 'ALGOLIA_API_KEY');\n\n// Call the API\n$response = $client->putCompositionRule(\n 'compositionID',\n 'rule-with-external-provider-source',\n ['objectID' => 'rule-with-external-provider-source',\n 'conditions' => [\n ['anchoring' => 'contains',\n 'pattern' => 'harry',\n ],\n ],\n 'consequence' => ['behavior' => ['injection' => ['main' => ['source' => ['search' => ['index' => 'my-index',\n ],\n ],\n ],\n 'injectedItems' => [\n ['key' => 'my-unique-external-provider-group-from-rule-key',\n 'source' => ['externalProvider' => ['index' => 'my-index',\n 'configurationID' => 'my-rmn-connection',\n 'configurationParams' => ['campaign_id' => 'summer-sale',\n ],\n 'ordering' => 'providerDefined',\n ],\n ],\n 'position' => 0,\n 'length' => 3,\n ],\n ],\n ],\n ],\n ],\n ],\n);\n\n\n// print the response\nvar_dump($response);"},{"label":"Python","lang":"python","source":"# Initialize the client\n# In an asynchronous context, you can use CompositionClient instead, which exposes the exact same methods.\nclient = CompositionClientSync(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\")\n\n# Call the API\nresponse = client.put_composition_rule(\n composition_id=\"compositionID\",\n object_id=\"rule-with-external-provider-source\",\n composition_rule={\n \"objectID\": \"rule-with-external-provider-source\",\n \"conditions\": [\n {\n \"anchoring\": \"contains\",\n \"pattern\": \"harry\",\n },\n ],\n \"consequence\": {\n \"behavior\": {\n \"injection\": {\n \"main\": {\n \"source\": {\n \"search\": {\n \"index\": \"my-index\",\n },\n },\n },\n \"injectedItems\": [\n {\n \"key\": \"my-unique-external-provider-group-from-rule-key\",\n \"source\": {\n \"externalProvider\": {\n \"index\": \"my-index\",\n \"configurationID\": \"my-rmn-connection\",\n \"configurationParams\": {\n \"campaign_id\": \"summer-sale\",\n },\n \"ordering\": \"providerDefined\",\n },\n },\n \"position\": 0,\n \"length\": 3,\n },\n ],\n },\n },\n },\n },\n)\n\n\n# print the response\nprint(response)"},{"label":"Ruby","lang":"ruby","source":"# Initialize the client\nclient = Algolia::CompositionClient.create(\"ALGOLIA_APPLICATION_ID\", \"ALGOLIA_API_KEY\")\n\n# Call the API\nresponse = client.put_composition_rule(\n \"compositionID\",\n \"rule-with-external-provider-source\",\n Algolia::Composition::CompositionRule.new(\n algolia_object_id: \"rule-with-external-provider-source\",\n conditions: [Algolia::Composition::Condition.new(anchoring: \"contains\", pattern: \"harry\")],\n consequence: Algolia::Composition::CompositionRuleConsequence.new(\n behavior: Algolia::Composition::CompositionInjectionBehavior.new(\n injection: Algolia::Composition::Injection.new(\n main: Algolia::Composition::InjectionMain.new(\n source: Algolia::Composition::InjectionMainSearchSource.new(\n search: Algolia::Composition::InjectionMainSearch.new(index: \"my-index\")\n )\n ),\n injected_items: [\n Algolia::Composition::InjectionInjectedItem.new(\n key: \"my-unique-external-provider-group-from-rule-key\",\n source: Algolia::Composition::InjectedItemExternalProviderSource.new(\n external_provider: Algolia::Composition::InjectedItemExternalProvider.new(\n index: \"my-index\",\n configuration_id: \"my-rmn-connection\",\n configuration_params: {campaign_id: \"summer-sale\"},\n ordering: \"providerDefined\"\n )\n ),\n position: 0,\n length: 3\n )\n ]\n )\n )\n )\n )\n)\n\n\n# print the response\nputs(response)"},{"label":"Scala","lang":"scala","source":"// Initialize the client\nval client = CompositionClient(appId = \"ALGOLIA_APPLICATION_ID\", apiKey = \"ALGOLIA_API_KEY\")\n\n// Call the API\nval response = Await.result(\n client.putCompositionRule(\n compositionID = \"compositionID\",\n objectID = \"rule-with-external-provider-source\",\n compositionRule = CompositionRule(\n objectID = \"rule-with-external-provider-source\",\n conditions = Some(\n Seq(\n Condition(\n anchoring = Some(Anchoring.withName(\"contains\")),\n pattern = Some(\"harry\")\n )\n )\n ),\n consequence = CompositionRuleConsequence(\n behavior = CompositionInjectionBehavior(\n injection = Injection(\n main = InjectionMain(\n source = Some(\n InjectionMainSearchSource(\n search = InjectionMainSearch(\n index = \"my-index\"\n )\n )\n )\n ),\n injectedItems = Some(\n Seq(\n InjectionInjectedItem(\n key = \"my-unique-external-provider-group-from-rule-key\",\n source = InjectedItemExternalProviderSource(\n externalProvider = InjectedItemExternalProvider(\n index = \"my-index\",\n configurationID = \"my-rmn-connection\",\n configurationParams = Some(Map(\"campaign_id\" -> \"summer-sale\")),\n ordering = Some(ExternalProviderOrdering.withName(\"providerDefined\"))\n )\n ),\n position = 0,\n length = 3\n )\n )\n )\n )\n )\n )\n )\n ),\n Duration(100, \"sec\")\n)\n\n// print the response\nprintln(response)"},{"label":"Swift","lang":"swift","source":"// Initialize the client\nlet client = try CompositionClient(appID: \"ALGOLIA_APPLICATION_ID\", apiKey: \"ALGOLIA_API_KEY\")\n\n// Call the API\nlet response = try await client.putCompositionRule(\n compositionID: \"compositionID\",\n objectID: \"rule-with-external-provider-source\",\n compositionRule: CompositionRule(\n objectID: \"rule-with-external-provider-source\",\n conditions: [CompositionCondition(pattern: \"harry\", anchoring: CompositionAnchoring.contains)],\n consequence: CompositionRuleConsequence(behavior: CompositionBehavior\n .compositionInjectionBehavior(CompositionInjectionBehavior(injection: Injection(\n main: InjectionMain(source: InjectionMainSource\n .injectionMainSearchSource(\n InjectionMainSearchSource(search: InjectionMainSearch(index: \"my-index\"))\n )),\n injectedItems: [InjectionInjectedItem(\n key: \"my-unique-external-provider-group-from-rule-key\",\n source: InjectedItemSource\n .injectedItemExternalProviderSource(\n InjectedItemExternalProviderSource(externalProvider: InjectedItemExternalProvider(\n index: \"my-index\",\n configurationID: \"my-rmn-connection\",\n configurationParams: [\"campaign_id\": AnyCodable(\"summer-sale\")],\n ordering: ExternalProviderOrdering.providerDefined\n ))\n ),\n position: 0,\n length: 3\n )]\n ))))\n )\n)\n\n// print the response\nprint(response)"},{"label":"curl","lang":"cURL","source":"curl --request PUT \\\n --url https://algolia_application_id.algolia.net/1/compositions/my_composition_object_id/rules/lorem \\\n --header 'accept: application/json' \\\n --header 'content-type: application/json' \\\n --header 'x-algolia-api-key: ALGOLIA_API_KEY' \\\n --header 'x-algolia-application-id: ALGOLIA_APPLICATION_ID' \\\n --data '\n{\n \"objectID\": \"my_composition_rule_object_id\",\n \"conditions\": [\n {\n \"pattern\": \"{facet:genre}\",\n \"anchoring\": \"is\",\n \"context\": \"mobile\",\n \"filters\": \"genre:comedy\",\n \"sortBy\": \"price-low-to-high\"\n }\n ],\n \"consequence\": {\n \"behavior\": {\n \"injection\": {\n \"main\": {\n \"source\": {\n \"search\": {\n \"index\": \"Products\",\n \"params\": {\n \"advancedSyntax\": false,\n \"advancedSyntaxFeatures\": [\n \"exactPhrase\",\n \"excludeWords\"\n ],\n \"allowTyposOnNumericTokens\": true,\n \"alternativesAsExact\": [\n \"ignorePlurals\",\n \"singleWordSynonym\"\n ],\n \"attributeCriteriaComputedByMinProximity\": false,\n \"attributesToHighlight\": [\n \"author\",\n \"title\",\n \"conten\",\n \"content\"\n ],\n \"attributesToRetrieve\": [\n \"author\",\n \"title\",\n \"content\"\n ],\n \"attributesToSnippet\": [\n \"content:80\",\n \"description\"\n ],\n \"clickAnalytics\": false,\n \"disableExactOnAttributes\": [\n \"description\"\n ],\n \"disableTypoToleranceOnAttributes\": [\n \"sku\"\n ],\n \"distinct\": 1,\n \"enableABTest\": true,\n \"enablePersonalization\": false,\n \"enableReRanking\": true,\n \"enableRules\": true,\n \"exactOnSingleWordQuery\": \"attribute\",\n \"facetFilters\": [\n [\n \"category:Book\",\n \"category:-Movie\"\n ],\n \"author:John Doe\"\n ],\n \"filters\": \"(category:Book OR category:Ebook) AND _tags:published\",\n \"getRankingInfo\": false,\n \"highlightPostTag\": \"\u003c/em>\",\n \"highlightPreTag\": \"\u003cem>\",\n \"ignorePlurals\": [\n \"ca\",\n \"es\"\n ],\n \"minProximity\": 1,\n \"minWordSizefor1Typo\": 4,\n \"minWordSizefor2Typos\": 8,\n \"naturalLanguages\": [],\n \"numericFilters\": [\n [\n \"inStock = 1\",\n \"deliveryDate \u003c 1441755506\"\n ],\n \"price \u003c 1000\"\n ],\n \"optionalFilters\": [\n \"category:Book\",\n \"author:John Doe\"\n ],\n \"optionalWords\": \"lorem\",\n \"percentileComputation\": true,\n \"personalizationImpact\": 100,\n \"queryLanguages\": [\n \"es\"\n ],\n \"queryType\": \"prefixLast\",\n \"removeStopWords\": [\n \"ca\",\n \"es\"\n ],\n \"removeWordsIfNoResults\": \"firstWords\",\n \"replaceSynonymsInHighlight\": false,\n \"responseFields\": [\n \"*\"\n ],\n \"restrictHighlightAndSnippetArrays\": false,\n \"restrictSearchableAttributes\": [\n \"title\",\n \"author\"\n ],\n \"ruleContexts\": [\n \"mobile\"\n ],\n \"snippetEllipsisText\": \"…\",\n \"synonyms\": true,\n \"typoTolerance\": true,\n \"facetingAfterDistinct\": false,\n \"facets\": [\n \"category\",\n \"disjunctive(brand)\",\n \"price\"\n ],\n \"hitsPerPage\": 20,\n \"maxValuesPerFacet\": 100,\n \"renderingContent\": {\n \"facetOrdering\": {\n \"facets\": {\n \"order\": [\n \"lorem\"\n ]\n },\n \"values\": {\n \"property1\": {\n \"order\": [\n \"lorem\"\n ],\n \"sortRemainingBy\": \"count\",\n \"hide\": [\n \"lorem\"\n ]\n },\n \"property2\": {\n \"order\": [\n \"lorem\"\n ],\n \"sortRemainingBy\": \"count\",\n \"hide\": [\n \"lorem\"\n ]\n }\n }\n },\n \"redirect\": {\n \"url\": \"lorem\"\n },\n \"widgets\": {\n \"banners\": [\n {\n \"image\": {\n \"urls\": [\n {\n \"url\": \"lorem\"\n }\n ],\n \"title\": \"lorem\"\n },\n \"link\": {\n \"url\": \"lorem\"\n }\n }\n ],\n \"resultCard\": {\n \"enabled\": true\n }\n }\n },\n \"sortFacetValuesBy\": \"count\",\n \"sumOrFiltersScores\": false\n }\n }\n }\n },\n \"injectedItems\": [\n {\n \"key\": \"lorem\",\n \"source\": {\n \"search\": {\n \"index\": \"Products\",\n \"params\": {\n \"advancedSyntax\": false,\n \"advancedSyntaxFeatures\": [\n \"exactPhrase\",\n \"excludeWords\"\n ],\n \"allowTyposOnNumericTokens\": true,\n \"alternativesAsExact\": [\n \"ignorePlurals\",\n \"singleWordSynonym\"\n ],\n \"attributeCriteriaComputedByMinProximity\": false,\n \"attributesToHighlight\": [\n \"author\",\n \"title\",\n \"conten\",\n \"content\"\n ],\n \"attributesToRetrieve\": [\n \"author\",\n \"title\",\n \"content\"\n ],\n \"attributesToSnippet\": [\n \"content:80\",\n \"description\"\n ],\n \"clickAnalytics\": false,\n \"disableExactOnAttributes\": [\n \"description\"\n ],\n \"disableTypoToleranceOnAttributes\": [\n \"sku\"\n ],\n \"distinct\": 1,\n \"enableABTest\": true,\n \"enablePersonalization\": false,\n \"enableReRanking\": true,\n \"enableRules\": true,\n \"exactOnSingleWordQuery\": \"attribute\",\n \"facetFilters\": [\n [\n \"category:Book\",\n \"category:-Movie\"\n ],\n \"author:John Doe\"\n ],\n \"filters\": \"(category:Book OR category:Ebook) AND _tags:published\",\n \"getRankingInfo\": false,\n \"highlightPostTag\": \"\u003c/em>\",\n \"highlightPreTag\": \"\u003cem>\",\n \"ignorePlurals\": [\n \"ca\",\n \"es\"\n ],\n \"minProximity\": 1,\n \"minWordSizefor1Typo\": 4,\n \"minWordSizefor2Typos\": 8,\n \"naturalLanguages\": [],\n \"numericFilters\": [\n [\n \"inStock = 1\",\n \"deliveryDate \u003c 1441755506\"\n ],\n \"price \u003c 1000\"\n ],\n \"optionalFilters\": [\n \"category:Book\",\n \"author:John Doe\"\n ],\n \"optionalWords\": \"lorem\",\n \"percentileComputation\": true,\n \"personalizationImpact\": 100,\n \"queryLanguages\": [\n \"es\"\n ],\n \"queryType\": \"prefixLast\",\n \"removeStopWords\": [\n \"ca\",\n \"es\"\n ],\n \"removeWordsIfNoResults\": \"firstWords\",\n \"replaceSynonymsInHighlight\": false,\n \"responseFields\": [\n \"*\"\n ],\n \"restrictHighlightAndSnippetArrays\": false,\n \"restrictSearchableAttributes\": [\n \"title\",\n \"author\"\n ],\n \"ruleContexts\": [\n \"mobile\"\n ],\n \"snippetEllipsisText\": \"…\",\n \"synonyms\": true,\n \"typoTolerance\": true\n }\n }\n },\n \"position\": 0,\n \"length\": 0,\n \"metadata\": {\n \"hits\": {\n \"addItemKey\": true,\n \"extra\": {}\n }\n }\n }\n ],\n \"deduplication\": {\n \"positioning\": \"highest\"\n }\n }\n }\n },\n \"description\": \"Display a promotional banner\",\n \"enabled\": true,\n \"validity\": [\n {\n \"from\": 42,\n \"until\": 42\n }\n ],\n \"tags\": [\n \"conditional\"\n ]\n}\n'"}],"requestExampleLanguages":["bash","csharp","dart","go","java","javascript","kotlin","php","python","ruby","scala","swift"],"requiredOnlyExamples":false,"disableCodeSampleGeneration":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"19831d7b-40b3-49d9-aa69-30c51f629659":{"in":"path","name":"compositionID","description":"Unique Composition ObjectID.","required":true,"schema":{"type":"string","example":"my_composition_object_id","description":"Unique Composition ObjectID.\nComposition unique identifier.","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"031e8e94-a6b8-46b1-a640-c07886b2f6c7":{"in":"path","name":"objectID","description":"Unique identifier of a rule object.","required":true,"schema":{"title":"objectID","type":"string","description":"Unique identifier of a rule object.","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"consequence":{"title":"compositionRuleConsequence","type":"object","description":"Effect of the rule.","additionalProperties":false,"properties":{"behavior":{"oneOf":[{"type":"object","description":"An object containing either an `injection` or `multifeed` behavior schema, but not both.","required":["injection"],"properties":{"injection":{"title":"injection","type":"object","additionalProperties":false,"properties":{"main":{"type":"object","additionalProperties":false,"description":"Main defines the organic result set of the injection.","properties":{"source":{"oneOf":[{"type":"object","description":"Source to be used to retrieve organic result set.","required":["search"],"x-discriminator-fields":["search"],"properties":{"search":{"type":"object","properties":{"index":{"type":"string","description":"Algolia index used to retrieve records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.index","typeLabel":"string"},"params":{"type":"object","title":"Composition Main Injection Query parameters as object","properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"},"facetingAfterDistinct":{"type":"boolean","description":"Whether faceting should be applied after deduplication with `distinct`.\nThis leads to accurate facet counts when using faceting in combination with `distinct`.\nIt's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting,\nas `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.\n","default":false,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.facetingAfterDistinct","typeLabel":"boolean"},"facets":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.facets.items.[INDEX]","typeLabel":"string"},"description":"Facets for which to retrieve facet values that match the search criteria and the number of matching facet values.\nTo retrieve all facets, use the wildcard character `*`.\nTo retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier.\nFor more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).\n","default":[],"example":["category","disjunctive(brand)","price"],"examples":[["category","disjunctive(brand)","price"],["*"],["*","disjunctive(brand)"]],"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.facets","typeLabel":"string[]"},"hitsPerPage":{"type":"integer","description":"Number of hits per page.","default":20,"minimum":1,"maximum":1000,"x-categories":["Pagination"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.hitsPerPage","typeLabel":"integer"},"maxValuesPerFacet":{"type":"integer","description":"Maximum number of facet values to return for each facet.","default":100,"maximum":1000,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.maxValuesPerFacet","typeLabel":"integer"},"renderingContent":{"description":"Extra data that can be used in the search UI.\n\nYou can use this to control aspects of your search UI, such as the order of facet names and values\nwithout changing your frontend code.\n","type":"object","additionalProperties":false,"properties":{"facetOrdering":{"description":"Order of facet names and facet values in your UI.","type":"object","additionalProperties":false,"properties":{"facets":{"description":"Order of facet names.","type":"object","additionalProperties":false,"properties":{"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.facets.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.facets.order","typeLabel":"string[]"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.facets","typeLabel":"object"},"values":{"description":"Order of facet values. One object for each facet.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"hide":{"description":"Hide facet values.","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.hide.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.hide","typeLabel":"string[]"},"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.order","typeLabel":"string[]"},"sortRemainingBy":{"description":"Order of facet values that aren't explicitly positioned with the `order` setting.\n\n- `count`.\n Order remaining facet values by decreasing count.\n The count is the number of matching records containing this facet value.\n\n- `alpha`.\n Sort facet values alphabetically.\n\n- `hidden`.\n Don't show facet values that aren't explicitly positioned.\n","type":"string","enum":["count","alpha","hidden"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.sortRemainingBy","typeLabel":"enum\u003cstring>"}},"x-additionalPropertiesName":"facet","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering","typeLabel":"object"},"redirect":{"description":"The redirect rule container.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.redirect.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.redirect","typeLabel":"object"},"widgets":{"description":"Widgets returned from any rules that are applied to the current search.","type":"object","additionalProperties":false,"properties":{"banners":{"description":"Banners defined in the Merchandising Studio for a given search.","type":"array","items":{"description":"Banner with image and link to redirect users.","type":"object","additionalProperties":false,"properties":{"image":{"description":"Image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"title":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image.title","typeLabel":"string"},"urls":{"type":"array","items":{"description":"URL for an image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image.urls","typeLabel":"object[]"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image","typeLabel":"object"},"link":{"description":"Link for a banner defined in the Merchandising Studio.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].link.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].link","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners","typeLabel":"object[]"},"resultCard":{"description":"Agent Studio Result Card to display for a given search.","type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Whether to show the Result Card for the current search.","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.resultCard.enabled","typeLabel":"boolean"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets.resultCard","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent.widgets","typeLabel":"object"}},"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.renderingContent","typeLabel":"object"},"sortFacetValuesBy":{"type":"string","description":"Order in which to retrieve facet values.\n- `count`.\n Facet values are retrieved by decreasing count.\n The count is the number of matching records containing this facet value.\n- `alpha`.\n Retrieve facet values alphabetically.\nThis setting doesn't influence how facet values are displayed in your UI (see `renderingContent`).\nFor more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).\n","default":"count","x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.sortFacetValuesBy","typeLabel":"string"},"sumOrFiltersScores":{"type":"boolean","description":"Whether to sum all filter scores.\nIf true, all filter scores are summed.\nOtherwise, the maximum filter score is kept.\nFor more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulate-scores-with-sumorfiltersscores).\n","default":false,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params.sumOrFiltersScores","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search.params","typeLabel":"Composition Main Injection Query parameters as object · object"}},"required":["index"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0.search","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.0","typeLabel":"object"},{"type":"object","description":"Source to be used to retrieve organic result set.","required":["recommend"],"x-discriminator-fields":["recommend"],"properties":{"recommend":{"type":"object","properties":{"indexName":{"type":"string","description":"Index to retrieve recommendations from.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.indexName","typeLabel":"string"},"model":{"type":"string","enum":["trending-items"],"description":"Recommendation model to use for retrieving recommendations.","example":"trending-items","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.model","typeLabel":"enum\u003cstring>"},"threshold":{"type":"integer","minimum":0,"maximum":100,"description":"Minimum score a recommendation must have to be included.","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.threshold","typeLabel":"integer"},"fallbackParameters":{"type":"object","title":"Composition Main Injection Query parameters as object","properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.typoTolerance","typeLabel":"boolean | enum\u003cstring>"},"facetingAfterDistinct":{"type":"boolean","description":"Whether faceting should be applied after deduplication with `distinct`.\nThis leads to accurate facet counts when using faceting in combination with `distinct`.\nIt's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting,\nas `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.\n","default":false,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.facetingAfterDistinct","typeLabel":"boolean"},"facets":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.facets.items.[INDEX]","typeLabel":"string"},"description":"Facets for which to retrieve facet values that match the search criteria and the number of matching facet values.\nTo retrieve all facets, use the wildcard character `*`.\nTo retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier.\nFor more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).\n","default":[],"example":["category","disjunctive(brand)","price"],"examples":[["category","disjunctive(brand)","price"],["*"],["*","disjunctive(brand)"]],"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.facets","typeLabel":"string[]"},"hitsPerPage":{"type":"integer","description":"Number of hits per page.","default":20,"minimum":1,"maximum":1000,"x-categories":["Pagination"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.hitsPerPage","typeLabel":"integer"},"maxValuesPerFacet":{"type":"integer","description":"Maximum number of facet values to return for each facet.","default":100,"maximum":1000,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.maxValuesPerFacet","typeLabel":"integer"},"renderingContent":{"description":"Extra data that can be used in the search UI.\n\nYou can use this to control aspects of your search UI, such as the order of facet names and values\nwithout changing your frontend code.\n","type":"object","additionalProperties":false,"properties":{"facetOrdering":{"description":"Order of facet names and facet values in your UI.","type":"object","additionalProperties":false,"properties":{"facets":{"description":"Order of facet names.","type":"object","additionalProperties":false,"properties":{"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.facets.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.facets.order","typeLabel":"string[]"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.facets","typeLabel":"object"},"values":{"description":"Order of facet values. One object for each facet.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"hide":{"description":"Hide facet values.","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.hide.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.hide","typeLabel":"string[]"},"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.order","typeLabel":"string[]"},"sortRemainingBy":{"description":"Order of facet values that aren't explicitly positioned with the `order` setting.\n\n- `count`.\n Order remaining facet values by decreasing count.\n The count is the number of matching records containing this facet value.\n\n- `alpha`.\n Sort facet values alphabetically.\n\n- `hidden`.\n Don't show facet values that aren't explicitly positioned.\n","type":"string","enum":["count","alpha","hidden"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.sortRemainingBy","typeLabel":"enum\u003cstring>"}},"x-additionalPropertiesName":"facet","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering","typeLabel":"object"},"redirect":{"description":"The redirect rule container.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.redirect.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.redirect","typeLabel":"object"},"widgets":{"description":"Widgets returned from any rules that are applied to the current search.","type":"object","additionalProperties":false,"properties":{"banners":{"description":"Banners defined in the Merchandising Studio for a given search.","type":"array","items":{"description":"Banner with image and link to redirect users.","type":"object","additionalProperties":false,"properties":{"image":{"description":"Image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"title":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image.title","typeLabel":"string"},"urls":{"type":"array","items":{"description":"URL for an image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image.urls","typeLabel":"object[]"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image","typeLabel":"object"},"link":{"description":"Link for a banner defined in the Merchandising Studio.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].link.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].link","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners","typeLabel":"object[]"},"resultCard":{"description":"Agent Studio Result Card to display for a given search.","type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Whether to show the Result Card for the current search.","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.resultCard.enabled","typeLabel":"boolean"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.resultCard","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets","typeLabel":"object"}},"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent","typeLabel":"object"},"sortFacetValuesBy":{"type":"string","description":"Order in which to retrieve facet values.\n- `count`.\n Facet values are retrieved by decreasing count.\n The count is the number of matching records containing this facet value.\n- `alpha`.\n Retrieve facet values alphabetically.\nThis setting doesn't influence how facet values are displayed in your UI (see `renderingContent`).\nFor more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).\n","default":"count","x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.sortFacetValuesBy","typeLabel":"string"},"sumOrFiltersScores":{"type":"boolean","description":"Whether to sum all filter scores.\nIf true, all filter scores are summed.\nOtherwise, the maximum filter score is kept.\nFor more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulate-scores-with-sumorfiltersscores).\n","default":false,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters.sumOrFiltersScores","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.fallbackParameters","typeLabel":"Composition Main Injection Query parameters as object · object"},"queryParameters":{"type":"object","title":"Composition Main Injection Query parameters as object","properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.typoTolerance","typeLabel":"boolean | enum\u003cstring>"},"facetingAfterDistinct":{"type":"boolean","description":"Whether faceting should be applied after deduplication with `distinct`.\nThis leads to accurate facet counts when using faceting in combination with `distinct`.\nIt's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting,\nas `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.\n","default":false,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.facetingAfterDistinct","typeLabel":"boolean"},"facets":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.facets.items.[INDEX]","typeLabel":"string"},"description":"Facets for which to retrieve facet values that match the search criteria and the number of matching facet values.\nTo retrieve all facets, use the wildcard character `*`.\nTo retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier.\nFor more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).\n","default":[],"example":["category","disjunctive(brand)","price"],"examples":[["category","disjunctive(brand)","price"],["*"],["*","disjunctive(brand)"]],"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.facets","typeLabel":"string[]"},"hitsPerPage":{"type":"integer","description":"Number of hits per page.","default":20,"minimum":1,"maximum":1000,"x-categories":["Pagination"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.hitsPerPage","typeLabel":"integer"},"maxValuesPerFacet":{"type":"integer","description":"Maximum number of facet values to return for each facet.","default":100,"maximum":1000,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.maxValuesPerFacet","typeLabel":"integer"},"renderingContent":{"description":"Extra data that can be used in the search UI.\n\nYou can use this to control aspects of your search UI, such as the order of facet names and values\nwithout changing your frontend code.\n","type":"object","additionalProperties":false,"properties":{"facetOrdering":{"description":"Order of facet names and facet values in your UI.","type":"object","additionalProperties":false,"properties":{"facets":{"description":"Order of facet names.","type":"object","additionalProperties":false,"properties":{"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.facets.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.facets.order","typeLabel":"string[]"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.facets","typeLabel":"object"},"values":{"description":"Order of facet values. One object for each facet.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"hide":{"description":"Hide facet values.","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.hide.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.hide","typeLabel":"string[]"},"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.order","typeLabel":"string[]"},"sortRemainingBy":{"description":"Order of facet values that aren't explicitly positioned with the `order` setting.\n\n- `count`.\n Order remaining facet values by decreasing count.\n The count is the number of matching records containing this facet value.\n\n- `alpha`.\n Sort facet values alphabetically.\n\n- `hidden`.\n Don't show facet values that aren't explicitly positioned.\n","type":"string","enum":["count","alpha","hidden"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.sortRemainingBy","typeLabel":"enum\u003cstring>"}},"x-additionalPropertiesName":"facet","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering","typeLabel":"object"},"redirect":{"description":"The redirect rule container.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.redirect.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.redirect","typeLabel":"object"},"widgets":{"description":"Widgets returned from any rules that are applied to the current search.","type":"object","additionalProperties":false,"properties":{"banners":{"description":"Banners defined in the Merchandising Studio for a given search.","type":"array","items":{"description":"Banner with image and link to redirect users.","type":"object","additionalProperties":false,"properties":{"image":{"description":"Image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"title":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image.title","typeLabel":"string"},"urls":{"type":"array","items":{"description":"URL for an image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image.urls","typeLabel":"object[]"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image","typeLabel":"object"},"link":{"description":"Link for a banner defined in the Merchandising Studio.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].link.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].link","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners","typeLabel":"object[]"},"resultCard":{"description":"Agent Studio Result Card to display for a given search.","type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Whether to show the Result Card for the current search.","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.resultCard.enabled","typeLabel":"boolean"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.resultCard","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets","typeLabel":"object"}},"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent","typeLabel":"object"},"sortFacetValuesBy":{"type":"string","description":"Order in which to retrieve facet values.\n- `count`.\n Facet values are retrieved by decreasing count.\n The count is the number of matching records containing this facet value.\n- `alpha`.\n Retrieve facet values alphabetically.\nThis setting doesn't influence how facet values are displayed in your UI (see `renderingContent`).\nFor more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).\n","default":"count","x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.sortFacetValuesBy","typeLabel":"string"},"sumOrFiltersScores":{"type":"boolean","description":"Whether to sum all filter scores.\nIf true, all filter scores are summed.\nOtherwise, the maximum filter score is kept.\nFor more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulate-scores-with-sumorfiltersscores).\n","default":false,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters.sumOrFiltersScores","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend.queryParameters","typeLabel":"Composition Main Injection Query parameters as object · object"}},"required":["indexName","model","threshold"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1.recommend","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.1","typeLabel":"object"},{"type":"object","description":"Source to be used to retrieve organic result set.","required":["externalProvider"],"x-discriminator-fields":["externalProvider"],"properties":{"externalProvider":{"type":"object","properties":{"configurationID":{"type":"string","description":"Identifier of the external provider configuration.","example":"my-rmn-connection","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.configurationID","typeLabel":"string"},"index":{"type":"string","description":"Algolia index used to fetch the records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.index","typeLabel":"string"},"configurationParams":{"type":"object","additionalProperties":true,"description":"Default values for the configuration placeholders that are not reserved Composition placeholders.","example":{"campaign_id":"winter-sale","customer_id":"user123"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.configurationParams","typeLabel":"object"},"ordering":{"type":"string","description":"Ordering to apply on the items retrieved from the external provider. 'algoliaDefined' uses the relevance ranking from the Algolia retrieval step. 'providerDefined' uses the ordering returned by the external provider.\n","enum":["algoliaDefined","providerDefined"],"default":"providerDefined","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.ordering","typeLabel":"enum\u003cstring>"},"params":{"type":"object","title":"Composition Main Injection Query parameters as object","properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"},"facetingAfterDistinct":{"type":"boolean","description":"Whether faceting should be applied after deduplication with `distinct`.\nThis leads to accurate facet counts when using faceting in combination with `distinct`.\nIt's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting,\nas `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.\n","default":false,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.facetingAfterDistinct","typeLabel":"boolean"},"facets":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.facets.items.[INDEX]","typeLabel":"string"},"description":"Facets for which to retrieve facet values that match the search criteria and the number of matching facet values.\nTo retrieve all facets, use the wildcard character `*`.\nTo retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier.\nFor more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).\n","default":[],"example":["category","disjunctive(brand)","price"],"examples":[["category","disjunctive(brand)","price"],["*"],["*","disjunctive(brand)"]],"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.facets","typeLabel":"string[]"},"hitsPerPage":{"type":"integer","description":"Number of hits per page.","default":20,"minimum":1,"maximum":1000,"x-categories":["Pagination"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.hitsPerPage","typeLabel":"integer"},"maxValuesPerFacet":{"type":"integer","description":"Maximum number of facet values to return for each facet.","default":100,"maximum":1000,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.maxValuesPerFacet","typeLabel":"integer"},"renderingContent":{"description":"Extra data that can be used in the search UI.\n\nYou can use this to control aspects of your search UI, such as the order of facet names and values\nwithout changing your frontend code.\n","type":"object","additionalProperties":false,"properties":{"facetOrdering":{"description":"Order of facet names and facet values in your UI.","type":"object","additionalProperties":false,"properties":{"facets":{"description":"Order of facet names.","type":"object","additionalProperties":false,"properties":{"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.facets.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.facets.order","typeLabel":"string[]"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.facets","typeLabel":"object"},"values":{"description":"Order of facet values. One object for each facet.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"hide":{"description":"Hide facet values.","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.hide.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.hide","typeLabel":"string[]"},"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.order","typeLabel":"string[]"},"sortRemainingBy":{"description":"Order of facet values that aren't explicitly positioned with the `order` setting.\n\n- `count`.\n Order remaining facet values by decreasing count.\n The count is the number of matching records containing this facet value.\n\n- `alpha`.\n Sort facet values alphabetically.\n\n- `hidden`.\n Don't show facet values that aren't explicitly positioned.\n","type":"string","enum":["count","alpha","hidden"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.sortRemainingBy","typeLabel":"enum\u003cstring>"}},"x-additionalPropertiesName":"facet","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering","typeLabel":"object"},"redirect":{"description":"The redirect rule container.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.redirect.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.redirect","typeLabel":"object"},"widgets":{"description":"Widgets returned from any rules that are applied to the current search.","type":"object","additionalProperties":false,"properties":{"banners":{"description":"Banners defined in the Merchandising Studio for a given search.","type":"array","items":{"description":"Banner with image and link to redirect users.","type":"object","additionalProperties":false,"properties":{"image":{"description":"Image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"title":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image.title","typeLabel":"string"},"urls":{"type":"array","items":{"description":"URL for an image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image.urls","typeLabel":"object[]"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image","typeLabel":"object"},"link":{"description":"Link for a banner defined in the Merchandising Studio.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].link.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].link","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners","typeLabel":"object[]"},"resultCard":{"description":"Agent Studio Result Card to display for a given search.","type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Whether to show the Result Card for the current search.","uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.resultCard.enabled","typeLabel":"boolean"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.resultCard","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets","typeLabel":"object"}},"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.renderingContent","typeLabel":"object"},"sortFacetValuesBy":{"type":"string","description":"Order in which to retrieve facet values.\n- `count`.\n Facet values are retrieved by decreasing count.\n The count is the number of matching records containing this facet value.\n- `alpha`.\n Retrieve facet values alphabetically.\nThis setting doesn't influence how facet values are displayed in your UI (see `renderingContent`).\nFor more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).\n","default":"count","x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.sortFacetValuesBy","typeLabel":"string"},"sumOrFiltersScores":{"type":"boolean","description":"Whether to sum all filter scores.\nIf true, all filter scores are summed.\nOtherwise, the maximum filter score is kept.\nFor more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulate-scores-with-sumorfiltersscores).\n","default":false,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params.sumOrFiltersScores","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider.params","typeLabel":"Composition Main Injection Query parameters as object · object"}},"required":["index","configurationID"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2.externalProvider","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source.oneOf.2","typeLabel":"object"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.main.source","typeLabel":"object"}},"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.main","typeLabel":"object"},"deduplication":{"title":"deduplication","type":"object","additionalProperties":false,"description":"Deduplication configures the methods used to resolve duplicate items between main search results and injected group results.","properties":{"positioning":{"type":"string","enum":["highest","highestInjected"],"description":"Deduplication positioning configures how a duplicate result should be resolved between an injected item and main search results.\nCurrent configuration supports:\n- 'highest': always select the item in the highest position, and remove duplicates that appear lower in the results.\n- 'highestInjected': duplicate result will be moved to its highest possible injected position, but not higher. \n 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).\n","example":"highest","default":"highestInjected","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.deduplication.positioning","typeLabel":"enum\u003cstring>"}},"required":["positioning"],"uniqueKey":"consequence.behavior.oneOf.0.injection.deduplication","typeLabel":"deduplication · object"},"injectedItems":{"type":"array","description":"list of injected items of the current Composition.","minItems":0,"maxItems":3,"items":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string","description":"injected Item unique identifier.","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].key","typeLabel":"string"},"length":{"type":"integer","minimum":0,"maximum":50,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].length","typeLabel":"integer"},"position":{"type":"integer","minimum":0,"maximum":99,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].position","typeLabel":"integer"},"source":{"oneOf":[{"type":"object","description":"Source to be used to inject items into result set.","required":["search"],"x-discriminator-fields":["search"],"properties":{"search":{"type":"object","properties":{"index":{"type":"string","description":"Algolia index used to retrieve records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.index","typeLabel":"string"},"params":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params","typeLabel":"Composition common query parameters between main and injected items as object · object"}},"required":["index"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0.search","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.0","typeLabel":"object"},{"type":"object","description":"Source to be used to inject items into result set.","required":["external"],"x-discriminator-fields":["external"],"properties":{"external":{"type":"object","properties":{"index":{"type":"string","description":"Algolia index used to retrieve records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.index","typeLabel":"string"},"ordering":{"description":"Ordering to apply on the injected items coming from the external source. 'algoliaDefined' means the items will be ordered as they are in the index (natural relevance) in the smart group. 'userDefined' means the order in which the objectIDs are provided in the run request payload will be preserved in the smart group.","enum":["algoliaDefined","default","userDefined"],"default":"algoliaDefined","type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.ordering","typeLabel":"enum\u003cstring>"},"params":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params","typeLabel":"Composition common query parameters between main and injected items as object · object"}},"required":["index"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1.external","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.1","typeLabel":"object"},{"type":"object","description":"Source to be used to inject items into result set.","required":["recommend"],"x-discriminator-fields":["recommend"],"properties":{"recommend":{"type":"object","properties":{"indexName":{"type":"string","description":"Index to retrieve recommendations from.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.indexName","typeLabel":"string"},"model":{"type":"string","enum":["trending-items"],"description":"Recommendation model to use for retrieving recommendations.","example":"trending-items","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.model","typeLabel":"enum\u003cstring>"},"threshold":{"type":"integer","minimum":0,"maximum":100,"description":"Minimum score a recommendation must have to be included.","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.threshold","typeLabel":"integer"},"fallbackParameters":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters","typeLabel":"Composition common query parameters between main and injected items as object · object"},"queryParameters":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters","typeLabel":"Composition common query parameters between main and injected items as object · object"}},"required":["indexName","model","threshold"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.2","typeLabel":"object"},{"type":"object","description":"Source to be used to inject items into result set.","required":["externalProvider"],"x-discriminator-fields":["externalProvider"],"properties":{"externalProvider":{"type":"object","properties":{"configurationID":{"type":"string","description":"Identifier of the external provider configuration.","example":"my-rmn-connection","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.configurationID","typeLabel":"string"},"index":{"type":"string","description":"Algolia index used to fetch the records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.index","typeLabel":"string"},"configurationParams":{"type":"object","additionalProperties":true,"description":"Default values for the configuration placeholders that are not reserved Composition placeholders.","example":{"campaign_id":"winter-sale","customer_id":"user123"},"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.configurationParams","typeLabel":"object"},"ordering":{"type":"string","description":"Ordering to apply on the items retrieved from the external provider. 'algoliaDefined' uses the relevance ranking from the Algolia retrieval step. 'providerDefined' uses the ordering returned by the external provider.\n","enum":["algoliaDefined","providerDefined"],"default":"providerDefined","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.ordering","typeLabel":"enum\u003cstring>"},"params":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params","typeLabel":"Composition common query parameters between main and injected items as object · object"}},"required":["index","configurationID"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].source","typeLabel":"object"},"metadata":{"title":"injectedItemMetadata","type":"object","description":"Used to add metadata to the results of the injectedItem.","properties":{"hits":{"title":"injectedItemHitsMetadata","type":"object","description":"Adds the provided metadata to each injected hit via an `_extra` attribute.","properties":{"addItemKey":{"type":"boolean","description":"When true, each affected hit's `_extra` object includes an `_injectedItemKey` field identifying the injectedItem that inserted it. Defaults to false, meaning hits don't include `_injectedItemKey`. To identify injected hits without this flag, define your own key-value pairs in `extra`.","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].metadata.hits.addItemKey","typeLabel":"boolean"},"extra":{"type":"object","additionalProperties":true,"description":"The user-defined key-value pairs that will be placed in the `_extra` field of each affected hit.","uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].metadata.hits.extra","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].metadata.hits","typeLabel":"injectedItemHitsMetadata · object"}},"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX].metadata","typeLabel":"injectedItemMetadata · object"}},"required":["key","source","position","length"],"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.0.injection.injectedItems","typeLabel":"object[]"}},"required":["main"],"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0.injection","typeLabel":"injection · object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.0","typeLabel":"object"},{"type":"object","description":"An object containing either an `injection` or `multifeed` behavior schema, but not both.","required":["multifeed"],"properties":{"multifeed":{"title":"multifeed","type":"object","additionalProperties":false,"properties":{"feeds":{"type":"object","description":"A key-value store of Feed ID to Feed. Currently, the only supported Feed type is an Injection.","additionalProperties":{"type":"object","description":"Feed formatted as an injection.","required":["injection"],"properties":{"injection":{"title":"injection","type":"object","additionalProperties":false,"properties":{"main":{"type":"object","additionalProperties":false,"description":"Main defines the organic result set of the injection.","properties":{"source":{"oneOf":[{"type":"object","description":"Source to be used to retrieve organic result set.","required":["search"],"x-discriminator-fields":["search"],"properties":{"search":{"type":"object","properties":{"index":{"type":"string","description":"Algolia index used to retrieve records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.index","typeLabel":"string"},"params":{"type":"object","title":"Composition Main Injection Query parameters as object","properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"},"facetingAfterDistinct":{"type":"boolean","description":"Whether faceting should be applied after deduplication with `distinct`.\nThis leads to accurate facet counts when using faceting in combination with `distinct`.\nIt's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting,\nas `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.\n","default":false,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.facetingAfterDistinct","typeLabel":"boolean"},"facets":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.facets.items.[INDEX]","typeLabel":"string"},"description":"Facets for which to retrieve facet values that match the search criteria and the number of matching facet values.\nTo retrieve all facets, use the wildcard character `*`.\nTo retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier.\nFor more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).\n","default":[],"example":["category","disjunctive(brand)","price"],"examples":[["category","disjunctive(brand)","price"],["*"],["*","disjunctive(brand)"]],"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.facets","typeLabel":"string[]"},"hitsPerPage":{"type":"integer","description":"Number of hits per page.","default":20,"minimum":1,"maximum":1000,"x-categories":["Pagination"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.hitsPerPage","typeLabel":"integer"},"maxValuesPerFacet":{"type":"integer","description":"Maximum number of facet values to return for each facet.","default":100,"maximum":1000,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.maxValuesPerFacet","typeLabel":"integer"},"renderingContent":{"description":"Extra data that can be used in the search UI.\n\nYou can use this to control aspects of your search UI, such as the order of facet names and values\nwithout changing your frontend code.\n","type":"object","additionalProperties":false,"properties":{"facetOrdering":{"description":"Order of facet names and facet values in your UI.","type":"object","additionalProperties":false,"properties":{"facets":{"description":"Order of facet names.","type":"object","additionalProperties":false,"properties":{"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.facets.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.facets.order","typeLabel":"string[]"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.facets","typeLabel":"object"},"values":{"description":"Order of facet values. One object for each facet.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"hide":{"description":"Hide facet values.","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.hide.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.hide","typeLabel":"string[]"},"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.order","typeLabel":"string[]"},"sortRemainingBy":{"description":"Order of facet values that aren't explicitly positioned with the `order` setting.\n\n- `count`.\n Order remaining facet values by decreasing count.\n The count is the number of matching records containing this facet value.\n\n- `alpha`.\n Sort facet values alphabetically.\n\n- `hidden`.\n Don't show facet values that aren't explicitly positioned.\n","type":"string","enum":["count","alpha","hidden"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties.sortRemainingBy","typeLabel":"enum\u003cstring>"}},"x-additionalPropertiesName":"facet","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values.additionalProperties","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering.values","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.facetOrdering","typeLabel":"object"},"redirect":{"description":"The redirect rule container.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.redirect.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.redirect","typeLabel":"object"},"widgets":{"description":"Widgets returned from any rules that are applied to the current search.","type":"object","additionalProperties":false,"properties":{"banners":{"description":"Banners defined in the Merchandising Studio for a given search.","type":"array","items":{"description":"Banner with image and link to redirect users.","type":"object","additionalProperties":false,"properties":{"image":{"description":"Image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"title":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image.title","typeLabel":"string"},"urls":{"type":"array","items":{"description":"URL for an image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image.urls","typeLabel":"object[]"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].image","typeLabel":"object"},"link":{"description":"Link for a banner defined in the Merchandising Studio.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].link.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX].link","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.banners","typeLabel":"object[]"},"resultCard":{"description":"Agent Studio Result Card to display for a given search.","type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Whether to show the Result Card for the current search.","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.resultCard.enabled","typeLabel":"boolean"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets.resultCard","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent.widgets","typeLabel":"object"}},"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.renderingContent","typeLabel":"object"},"sortFacetValuesBy":{"type":"string","description":"Order in which to retrieve facet values.\n- `count`.\n Facet values are retrieved by decreasing count.\n The count is the number of matching records containing this facet value.\n- `alpha`.\n Retrieve facet values alphabetically.\nThis setting doesn't influence how facet values are displayed in your UI (see `renderingContent`).\nFor more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).\n","default":"count","x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.sortFacetValuesBy","typeLabel":"string"},"sumOrFiltersScores":{"type":"boolean","description":"Whether to sum all filter scores.\nIf true, all filter scores are summed.\nOtherwise, the maximum filter score is kept.\nFor more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulate-scores-with-sumorfiltersscores).\n","default":false,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params.sumOrFiltersScores","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search.params","typeLabel":"Composition Main Injection Query parameters as object · object"}},"required":["index"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0.search","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.0","typeLabel":"object"},{"type":"object","description":"Source to be used to retrieve organic result set.","required":["recommend"],"x-discriminator-fields":["recommend"],"properties":{"recommend":{"type":"object","properties":{"indexName":{"type":"string","description":"Index to retrieve recommendations from.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.indexName","typeLabel":"string"},"model":{"type":"string","enum":["trending-items"],"description":"Recommendation model to use for retrieving recommendations.","example":"trending-items","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.model","typeLabel":"enum\u003cstring>"},"threshold":{"type":"integer","minimum":0,"maximum":100,"description":"Minimum score a recommendation must have to be included.","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.threshold","typeLabel":"integer"},"fallbackParameters":{"type":"object","title":"Composition Main Injection Query parameters as object","properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.typoTolerance","typeLabel":"boolean | enum\u003cstring>"},"facetingAfterDistinct":{"type":"boolean","description":"Whether faceting should be applied after deduplication with `distinct`.\nThis leads to accurate facet counts when using faceting in combination with `distinct`.\nIt's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting,\nas `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.\n","default":false,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.facetingAfterDistinct","typeLabel":"boolean"},"facets":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.facets.items.[INDEX]","typeLabel":"string"},"description":"Facets for which to retrieve facet values that match the search criteria and the number of matching facet values.\nTo retrieve all facets, use the wildcard character `*`.\nTo retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier.\nFor more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).\n","default":[],"example":["category","disjunctive(brand)","price"],"examples":[["category","disjunctive(brand)","price"],["*"],["*","disjunctive(brand)"]],"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.facets","typeLabel":"string[]"},"hitsPerPage":{"type":"integer","description":"Number of hits per page.","default":20,"minimum":1,"maximum":1000,"x-categories":["Pagination"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.hitsPerPage","typeLabel":"integer"},"maxValuesPerFacet":{"type":"integer","description":"Maximum number of facet values to return for each facet.","default":100,"maximum":1000,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.maxValuesPerFacet","typeLabel":"integer"},"renderingContent":{"description":"Extra data that can be used in the search UI.\n\nYou can use this to control aspects of your search UI, such as the order of facet names and values\nwithout changing your frontend code.\n","type":"object","additionalProperties":false,"properties":{"facetOrdering":{"description":"Order of facet names and facet values in your UI.","type":"object","additionalProperties":false,"properties":{"facets":{"description":"Order of facet names.","type":"object","additionalProperties":false,"properties":{"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.facets.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.facets.order","typeLabel":"string[]"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.facets","typeLabel":"object"},"values":{"description":"Order of facet values. One object for each facet.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"hide":{"description":"Hide facet values.","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.hide.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.hide","typeLabel":"string[]"},"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.order","typeLabel":"string[]"},"sortRemainingBy":{"description":"Order of facet values that aren't explicitly positioned with the `order` setting.\n\n- `count`.\n Order remaining facet values by decreasing count.\n The count is the number of matching records containing this facet value.\n\n- `alpha`.\n Sort facet values alphabetically.\n\n- `hidden`.\n Don't show facet values that aren't explicitly positioned.\n","type":"string","enum":["count","alpha","hidden"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties.sortRemainingBy","typeLabel":"enum\u003cstring>"}},"x-additionalPropertiesName":"facet","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values.additionalProperties","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering.values","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.facetOrdering","typeLabel":"object"},"redirect":{"description":"The redirect rule container.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.redirect.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.redirect","typeLabel":"object"},"widgets":{"description":"Widgets returned from any rules that are applied to the current search.","type":"object","additionalProperties":false,"properties":{"banners":{"description":"Banners defined in the Merchandising Studio for a given search.","type":"array","items":{"description":"Banner with image and link to redirect users.","type":"object","additionalProperties":false,"properties":{"image":{"description":"Image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"title":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image.title","typeLabel":"string"},"urls":{"type":"array","items":{"description":"URL for an image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image.urls","typeLabel":"object[]"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].image","typeLabel":"object"},"link":{"description":"Link for a banner defined in the Merchandising Studio.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].link.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX].link","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.banners","typeLabel":"object[]"},"resultCard":{"description":"Agent Studio Result Card to display for a given search.","type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Whether to show the Result Card for the current search.","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.resultCard.enabled","typeLabel":"boolean"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets.resultCard","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent.widgets","typeLabel":"object"}},"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.renderingContent","typeLabel":"object"},"sortFacetValuesBy":{"type":"string","description":"Order in which to retrieve facet values.\n- `count`.\n Facet values are retrieved by decreasing count.\n The count is the number of matching records containing this facet value.\n- `alpha`.\n Retrieve facet values alphabetically.\nThis setting doesn't influence how facet values are displayed in your UI (see `renderingContent`).\nFor more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).\n","default":"count","x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.sortFacetValuesBy","typeLabel":"string"},"sumOrFiltersScores":{"type":"boolean","description":"Whether to sum all filter scores.\nIf true, all filter scores are summed.\nOtherwise, the maximum filter score is kept.\nFor more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulate-scores-with-sumorfiltersscores).\n","default":false,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters.sumOrFiltersScores","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.fallbackParameters","typeLabel":"Composition Main Injection Query parameters as object · object"},"queryParameters":{"type":"object","title":"Composition Main Injection Query parameters as object","properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.typoTolerance","typeLabel":"boolean | enum\u003cstring>"},"facetingAfterDistinct":{"type":"boolean","description":"Whether faceting should be applied after deduplication with `distinct`.\nThis leads to accurate facet counts when using faceting in combination with `distinct`.\nIt's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting,\nas `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.\n","default":false,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.facetingAfterDistinct","typeLabel":"boolean"},"facets":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.facets.items.[INDEX]","typeLabel":"string"},"description":"Facets for which to retrieve facet values that match the search criteria and the number of matching facet values.\nTo retrieve all facets, use the wildcard character `*`.\nTo retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier.\nFor more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).\n","default":[],"example":["category","disjunctive(brand)","price"],"examples":[["category","disjunctive(brand)","price"],["*"],["*","disjunctive(brand)"]],"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.facets","typeLabel":"string[]"},"hitsPerPage":{"type":"integer","description":"Number of hits per page.","default":20,"minimum":1,"maximum":1000,"x-categories":["Pagination"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.hitsPerPage","typeLabel":"integer"},"maxValuesPerFacet":{"type":"integer","description":"Maximum number of facet values to return for each facet.","default":100,"maximum":1000,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.maxValuesPerFacet","typeLabel":"integer"},"renderingContent":{"description":"Extra data that can be used in the search UI.\n\nYou can use this to control aspects of your search UI, such as the order of facet names and values\nwithout changing your frontend code.\n","type":"object","additionalProperties":false,"properties":{"facetOrdering":{"description":"Order of facet names and facet values in your UI.","type":"object","additionalProperties":false,"properties":{"facets":{"description":"Order of facet names.","type":"object","additionalProperties":false,"properties":{"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.facets.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.facets.order","typeLabel":"string[]"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.facets","typeLabel":"object"},"values":{"description":"Order of facet values. One object for each facet.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"hide":{"description":"Hide facet values.","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.hide.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.hide","typeLabel":"string[]"},"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.order","typeLabel":"string[]"},"sortRemainingBy":{"description":"Order of facet values that aren't explicitly positioned with the `order` setting.\n\n- `count`.\n Order remaining facet values by decreasing count.\n The count is the number of matching records containing this facet value.\n\n- `alpha`.\n Sort facet values alphabetically.\n\n- `hidden`.\n Don't show facet values that aren't explicitly positioned.\n","type":"string","enum":["count","alpha","hidden"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties.sortRemainingBy","typeLabel":"enum\u003cstring>"}},"x-additionalPropertiesName":"facet","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values.additionalProperties","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering.values","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.facetOrdering","typeLabel":"object"},"redirect":{"description":"The redirect rule container.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.redirect.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.redirect","typeLabel":"object"},"widgets":{"description":"Widgets returned from any rules that are applied to the current search.","type":"object","additionalProperties":false,"properties":{"banners":{"description":"Banners defined in the Merchandising Studio for a given search.","type":"array","items":{"description":"Banner with image and link to redirect users.","type":"object","additionalProperties":false,"properties":{"image":{"description":"Image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"title":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image.title","typeLabel":"string"},"urls":{"type":"array","items":{"description":"URL for an image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image.urls","typeLabel":"object[]"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].image","typeLabel":"object"},"link":{"description":"Link for a banner defined in the Merchandising Studio.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].link.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX].link","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.banners","typeLabel":"object[]"},"resultCard":{"description":"Agent Studio Result Card to display for a given search.","type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Whether to show the Result Card for the current search.","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.resultCard.enabled","typeLabel":"boolean"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets.resultCard","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent.widgets","typeLabel":"object"}},"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.renderingContent","typeLabel":"object"},"sortFacetValuesBy":{"type":"string","description":"Order in which to retrieve facet values.\n- `count`.\n Facet values are retrieved by decreasing count.\n The count is the number of matching records containing this facet value.\n- `alpha`.\n Retrieve facet values alphabetically.\nThis setting doesn't influence how facet values are displayed in your UI (see `renderingContent`).\nFor more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).\n","default":"count","x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.sortFacetValuesBy","typeLabel":"string"},"sumOrFiltersScores":{"type":"boolean","description":"Whether to sum all filter scores.\nIf true, all filter scores are summed.\nOtherwise, the maximum filter score is kept.\nFor more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulate-scores-with-sumorfiltersscores).\n","default":false,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters.sumOrFiltersScores","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend.queryParameters","typeLabel":"Composition Main Injection Query parameters as object · object"}},"required":["indexName","model","threshold"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1.recommend","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.1","typeLabel":"object"},{"type":"object","description":"Source to be used to retrieve organic result set.","required":["externalProvider"],"x-discriminator-fields":["externalProvider"],"properties":{"externalProvider":{"type":"object","properties":{"configurationID":{"type":"string","description":"Identifier of the external provider configuration.","example":"my-rmn-connection","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.configurationID","typeLabel":"string"},"index":{"type":"string","description":"Algolia index used to fetch the records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.index","typeLabel":"string"},"configurationParams":{"type":"object","additionalProperties":true,"description":"Default values for the configuration placeholders that are not reserved Composition placeholders.","example":{"campaign_id":"winter-sale","customer_id":"user123"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.configurationParams","typeLabel":"object"},"ordering":{"type":"string","description":"Ordering to apply on the items retrieved from the external provider. 'algoliaDefined' uses the relevance ranking from the Algolia retrieval step. 'providerDefined' uses the ordering returned by the external provider.\n","enum":["algoliaDefined","providerDefined"],"default":"providerDefined","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.ordering","typeLabel":"enum\u003cstring>"},"params":{"type":"object","title":"Composition Main Injection Query parameters as object","properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"},"facetingAfterDistinct":{"type":"boolean","description":"Whether faceting should be applied after deduplication with `distinct`.\nThis leads to accurate facet counts when using faceting in combination with `distinct`.\nIt's usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting,\nas `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.\n","default":false,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.facetingAfterDistinct","typeLabel":"boolean"},"facets":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.facets.items.[INDEX]","typeLabel":"string"},"description":"Facets for which to retrieve facet values that match the search criteria and the number of matching facet values.\nTo retrieve all facets, use the wildcard character `*`.\nTo retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier.\nFor more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).\n","default":[],"example":["category","disjunctive(brand)","price"],"examples":[["category","disjunctive(brand)","price"],["*"],["*","disjunctive(brand)"]],"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.facets","typeLabel":"string[]"},"hitsPerPage":{"type":"integer","description":"Number of hits per page.","default":20,"minimum":1,"maximum":1000,"x-categories":["Pagination"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.hitsPerPage","typeLabel":"integer"},"maxValuesPerFacet":{"type":"integer","description":"Maximum number of facet values to return for each facet.","default":100,"maximum":1000,"x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.maxValuesPerFacet","typeLabel":"integer"},"renderingContent":{"description":"Extra data that can be used in the search UI.\n\nYou can use this to control aspects of your search UI, such as the order of facet names and values\nwithout changing your frontend code.\n","type":"object","additionalProperties":false,"properties":{"facetOrdering":{"description":"Order of facet names and facet values in your UI.","type":"object","additionalProperties":false,"properties":{"facets":{"description":"Order of facet names.","type":"object","additionalProperties":false,"properties":{"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.facets.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.facets.order","typeLabel":"string[]"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.facets","typeLabel":"object"},"values":{"description":"Order of facet values. One object for each facet.","type":"object","additionalProperties":{"type":"object","additionalProperties":false,"properties":{"hide":{"description":"Hide facet values.","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.hide.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.hide","typeLabel":"string[]"},"order":{"description":"Explicit order of facets or facet values.\n\nThis setting lets you always show specific facets or facet values at the top of the list.\n","type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.order.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.order","typeLabel":"string[]"},"sortRemainingBy":{"description":"Order of facet values that aren't explicitly positioned with the `order` setting.\n\n- `count`.\n Order remaining facet values by decreasing count.\n The count is the number of matching records containing this facet value.\n\n- `alpha`.\n Sort facet values alphabetically.\n\n- `hidden`.\n Don't show facet values that aren't explicitly positioned.\n","type":"string","enum":["count","alpha","hidden"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties.sortRemainingBy","typeLabel":"enum\u003cstring>"}},"x-additionalPropertiesName":"facet","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values.additionalProperties","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering.values","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.facetOrdering","typeLabel":"object"},"redirect":{"description":"The redirect rule container.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.redirect.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.redirect","typeLabel":"object"},"widgets":{"description":"Widgets returned from any rules that are applied to the current search.","type":"object","additionalProperties":false,"properties":{"banners":{"description":"Banners defined in the Merchandising Studio for a given search.","type":"array","items":{"description":"Banner with image and link to redirect users.","type":"object","additionalProperties":false,"properties":{"image":{"description":"Image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"title":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image.title","typeLabel":"string"},"urls":{"type":"array","items":{"description":"URL for an image to show inside a banner.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX].url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image.urls.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image.urls","typeLabel":"object[]"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].image","typeLabel":"object"},"link":{"description":"Link for a banner defined in the Merchandising Studio.","type":"object","additionalProperties":false,"properties":{"url":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].link.url","typeLabel":"string"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX].link","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.banners","typeLabel":"object[]"},"resultCard":{"description":"Agent Studio Result Card to display for a given search.","type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Whether to show the Result Card for the current search.","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.resultCard.enabled","typeLabel":"boolean"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets.resultCard","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent.widgets","typeLabel":"object"}},"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.renderingContent","typeLabel":"object"},"sortFacetValuesBy":{"type":"string","description":"Order in which to retrieve facet values.\n- `count`.\n Facet values are retrieved by decreasing count.\n The count is the number of matching records containing this facet value.\n- `alpha`.\n Retrieve facet values alphabetically.\nThis setting doesn't influence how facet values are displayed in your UI (see `renderingContent`).\nFor more information, see [facet value display](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/facet-display/js).\n","default":"count","x-categories":["Faceting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.sortFacetValuesBy","typeLabel":"string"},"sumOrFiltersScores":{"type":"boolean","description":"Whether to sum all filter scores.\nIf true, all filter scores are summed.\nOtherwise, the maximum filter score is kept.\nFor more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulate-scores-with-sumorfiltersscores).\n","default":false,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params.sumOrFiltersScores","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider.params","typeLabel":"Composition Main Injection Query parameters as object · object"}},"required":["index","configurationID"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2.externalProvider","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source.oneOf.2","typeLabel":"object"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main.source","typeLabel":"object"}},"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.main","typeLabel":"object"},"deduplication":{"title":"deduplication","type":"object","additionalProperties":false,"description":"Deduplication configures the methods used to resolve duplicate items between main search results and injected group results.","properties":{"positioning":{"type":"string","enum":["highest","highestInjected"],"description":"Deduplication positioning configures how a duplicate result should be resolved between an injected item and main search results.\nCurrent configuration supports:\n- 'highest': always select the item in the highest position, and remove duplicates that appear lower in the results.\n- 'highestInjected': duplicate result will be moved to its highest possible injected position, but not higher. \n 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).\n","example":"highest","default":"highestInjected","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.deduplication.positioning","typeLabel":"enum\u003cstring>"}},"required":["positioning"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.deduplication","typeLabel":"deduplication · object"},"injectedItems":{"type":"array","description":"list of injected items of the current Composition.","minItems":0,"maxItems":3,"items":{"type":"object","additionalProperties":false,"properties":{"key":{"type":"string","description":"injected Item unique identifier.","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].key","typeLabel":"string"},"length":{"type":"integer","minimum":0,"maximum":50,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].length","typeLabel":"integer"},"position":{"type":"integer","minimum":0,"maximum":99,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].position","typeLabel":"integer"},"source":{"oneOf":[{"type":"object","description":"Source to be used to inject items into result set.","required":["search"],"x-discriminator-fields":["search"],"properties":{"search":{"type":"object","properties":{"index":{"type":"string","description":"Algolia index used to retrieve records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.index","typeLabel":"string"},"params":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search.params","typeLabel":"Composition common query parameters between main and injected items as object · object"}},"required":["index"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0.search","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.0","typeLabel":"object"},{"type":"object","description":"Source to be used to inject items into result set.","required":["external"],"x-discriminator-fields":["external"],"properties":{"external":{"type":"object","properties":{"index":{"type":"string","description":"Algolia index used to retrieve records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.index","typeLabel":"string"},"ordering":{"description":"Ordering to apply on the injected items coming from the external source. 'algoliaDefined' means the items will be ordered as they are in the index (natural relevance) in the smart group. 'userDefined' means the order in which the objectIDs are provided in the run request payload will be preserved in the smart group.","enum":["algoliaDefined","default","userDefined"],"default":"algoliaDefined","type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.ordering","typeLabel":"enum\u003cstring>"},"params":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external.params","typeLabel":"Composition common query parameters between main and injected items as object · object"}},"required":["index"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1.external","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.1","typeLabel":"object"},{"type":"object","description":"Source to be used to inject items into result set.","required":["recommend"],"x-discriminator-fields":["recommend"],"properties":{"recommend":{"type":"object","properties":{"indexName":{"type":"string","description":"Index to retrieve recommendations from.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.indexName","typeLabel":"string"},"model":{"type":"string","enum":["trending-items"],"description":"Recommendation model to use for retrieving recommendations.","example":"trending-items","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.model","typeLabel":"enum\u003cstring>"},"threshold":{"type":"integer","minimum":0,"maximum":100,"description":"Minimum score a recommendation must have to be included.","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.threshold","typeLabel":"integer"},"fallbackParameters":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.fallbackParameters","typeLabel":"Composition common query parameters between main and injected items as object · object"},"queryParameters":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend.queryParameters","typeLabel":"Composition common query parameters between main and injected items as object · object"}},"required":["indexName","model","threshold"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2.recommend","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.2","typeLabel":"object"},{"type":"object","description":"Source to be used to inject items into result set.","required":["externalProvider"],"x-discriminator-fields":["externalProvider"],"properties":{"externalProvider":{"type":"object","properties":{"configurationID":{"type":"string","description":"Identifier of the external provider configuration.","example":"my-rmn-connection","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.configurationID","typeLabel":"string"},"index":{"type":"string","description":"Algolia index used to fetch the records.","example":"Products","isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.index","typeLabel":"string"},"configurationParams":{"type":"object","additionalProperties":true,"description":"Default values for the configuration placeholders that are not reserved Composition placeholders.","example":{"campaign_id":"winter-sale","customer_id":"user123"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.configurationParams","typeLabel":"object"},"ordering":{"type":"string","description":"Ordering to apply on the items retrieved from the external provider. 'algoliaDefined' uses the relevance ranking from the Algolia retrieval step. 'providerDefined' uses the ordering returned by the external provider.\n","enum":["algoliaDefined","providerDefined"],"default":"providerDefined","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.ordering","typeLabel":"enum\u003cstring>"},"params":{"title":"Composition common query parameters between main and injected items as object","type":"object","additionalProperties":false,"properties":{"advancedSyntax":{"type":"boolean","description":"Whether to support phrase matching and excluding words from search queries.\nUse the `advancedSyntaxFeatures` parameter to control which feature is supported.\n","default":false,"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.advancedSyntax","typeLabel":"boolean"},"advancedSyntaxFeatures":{"type":"array","items":{"type":"string","enum":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.advancedSyntaxFeatures.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Advanced search syntax features you want to support.\n- `exactPhrase`.\n Phrases in quotes must match exactly.\n For example, `sparkly blue \"iPhone case\"` only returns records with the exact string \"iPhone case\".\n- `excludeWords`.\n Query words prefixed with a `-` must not occur in a record.\n For example, `search -engine` matches records that contain \"search\" but not \"engine\".\nThis setting only has an effect if `advancedSyntax` is true.\n","default":["exactPhrase","excludeWords"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.advancedSyntaxFeatures","typeLabel":"enum\u003cstring>[]"},"allowTyposOnNumericTokens":{"type":"boolean","description":"Whether to allow typos on numbers in the search query.\nTurn off this setting to reduce the number of irrelevant matches\nwhen searching in large sets of similar numbers.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.allowTyposOnNumericTokens","typeLabel":"boolean"},"alternativesAsExact":{"type":"array","items":{"type":"string","enum":["ignorePlurals","singleWordSynonym","multiWordsSynonym","ignoreConjugations"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.alternativesAsExact.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Determine which plurals and synonyms should be considered an exact matches.\nBy default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching.\nFor example:\n- \"swimsuit\" and \"swimsuits\" are treated the same.\n- \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)).\n- `ignorePlurals`.\n Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches.\n- `singleWordSynonym`.\n Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches.\n- `multiWordsSynonym`.\n Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.\n","default":["ignorePlurals","singleWordSynonym"],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.alternativesAsExact","typeLabel":"enum\u003cstring>[]"},"attributeCriteriaComputedByMinProximity":{"type":"boolean","description":"Whether the best matching attribute should be determined by minimum proximity.\nThis setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting.\nIf true, the best matching attribute is selected based on the minimum proximity of multiple matches.\nOtherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.\n\nPrefer `attributeCriteriaComputedBy`, which expresses the same two behaviors and adds the `sum` strategy.\nIf you set both, `attributeCriteriaComputedBy` takes precedence.\n","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributeCriteriaComputedByMinProximity","typeLabel":"boolean"},"attributesToHighlight":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToHighlight.items.[INDEX]","typeLabel":"string"},"example":["author","title","conten","content"],"description":"Attributes to highlight.\nBy default, all searchable attributes are highlighted.\nUse `*` to highlight all attributes or use an empty array `[]` to turn off highlighting.\nAttribute names are case-sensitive\nWith highlighting, strings that match the search query are surrounded by HTML tags defined by `highlightPreTag` and `highlightPostTag`.\nYou can use this to visually highlight matching parts of a search query in your UI\nFor more information, see [Highlighting and snippeting](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/highlighting-snippeting/js).\n","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToHighlight","typeLabel":"string[]"},"attributesToRetrieve":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToRetrieve.items.[INDEX]","typeLabel":"string"},"example":["author","title","content"],"description":"Attributes to include in the API response.\nTo reduce the size of your response, you can retrieve only some of the attributes.\nAttribute names are case-sensitive\n- `*` retrieves all attributes, except attributes included in the `customRanking` and `unretrievableAttributes` settings.\n- To retrieve all attributes except a specific one, prefix the attribute with a dash and combine it with the `*`: `[\"*\", \"-ATTRIBUTE\"]`.\n- The `objectID` attribute is always included.\n","default":["*"],"x-categories":["Attributes"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToRetrieve","typeLabel":"string[]"},"attributesToSnippet":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToSnippet.items.[INDEX]","typeLabel":"string"},"example":["content:80","description"],"description":"Attributes for which to enable snippets.\nAttribute names are case-sensitive\nSnippets provide additional context to matched words.\nIf you enable snippets, they include 10 words, including the matched word.\nThe matched word will also be wrapped by HTML tags for highlighting.\nYou can adjust the number of words with the following notation: `ATTRIBUTE:NUMBER`,\nwhere `NUMBER` is the number of words to be extracted.\n","default":[],"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.attributesToSnippet","typeLabel":"string[]"},"clickAnalytics":{"type":"boolean","description":"Whether to include a `queryID` attribute in the response.\nThe query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).\n","default":false,"x-categories":["Analytics"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.clickAnalytics","typeLabel":"boolean"},"disableExactOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.disableExactOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["description"],"description":"Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).\nAttribute names are case-sensitive\nThis can be useful for attributes with long values, where the likelihood of an exact match is high,\nsuch as product descriptions.\nTurning off the Exact ranking criterion for these attributes favors exact matching on other attributes.\nThis reduces the impact of individual attributes with a lot of content on ranking.\n","default":[],"x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.disableExactOnAttributes","typeLabel":"string[]"},"disableTypoToleranceOnAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.disableTypoToleranceOnAttributes.items.[INDEX]","typeLabel":"string"},"example":["sku"],"description":"Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance).\nAttribute names are case-sensitive\nReturning only exact matches can help when\n- [Searching in hyphenated attributes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/how-to/how-to-search-in-hyphenated-attributes).\n- Reducing the number of matches when you have too many.\n This can happen with attributes that are long blocks of text, such as product descriptions.\nConsider alternatives such as `disableTypoToleranceOnWords` or adding synonyms if your attributes have intentional unusual spellings that might look like typos.\n","default":[],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.disableTypoToleranceOnAttributes","typeLabel":"string[]"},"distinct":{"oneOf":[{"type":"boolean","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.distinct.oneOf.0","typeLabel":"boolean"},{"type":"integer","description":"Determines how many records of a group are included in the search results.\n\nRecords with the same value for the `attributeForDistinct` attribute are considered a group.\nThe `distinct` setting controls how many members of the group are returned.\nThis is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#deduplicate-results-with-distinct).\n\nThe `distinct` setting is ignored if `attributeForDistinct` is not set.\n","default":0,"maximum":4,"minimum":0,"x-categories":["Advanced"],"example":1,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.distinct.oneOf.1","typeLabel":"integer"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.distinct","typeLabel":"boolean | integer"},"enableABTest":{"type":"boolean","description":"Whether to enable A/B testing for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.enableABTest","typeLabel":"boolean"},"enablePersonalization":{"type":"boolean","description":"Whether to enable Personalization.","default":false,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.enablePersonalization","typeLabel":"boolean"},"enableReRanking":{"type":"boolean","description":"Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking).\nThis setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.\n","default":true,"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.enableReRanking","typeLabel":"boolean"},"enableRules":{"type":"boolean","description":"Whether to enable rules.","default":true,"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.enableRules","typeLabel":"boolean"},"exactOnSingleWordQuery":{"type":"string","enum":["attribute","none","word"],"description":"Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word.\n\n- `attribute`.\n The Exact ranking criterion is 1 if the query word and attribute value are the same.\n For example, a search for \"road\" will match the value \"road\", but not \"road trip\".\n\n- `none`.\n The Exact ranking criterion is ignored on single-word searches.\n\n- `word`.\n The Exact ranking criterion is 1 if the query word is found in the attribute value.\n The query word must have at least 3 characters and must not be a stop word.\n Only exact matches will be highlighted,\n partial and prefix matches won't.\n","default":"attribute","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.exactOnSingleWordQuery","typeLabel":"enum\u003cstring>"},"facetFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.facetFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.facetFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter the search by facet values, so that only records with the same facet values are retrieved.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\n- `[filter1, filter2]` is interpreted as `filter1 AND filter2`.\n- `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`.\n- `facet:-value` is interpreted as `NOT facet:value`.\n\nWhile it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash:\n`facet:\\-value`.\n","x-categories":["Filtering"],"example":[["category:Book","category:-Movie"],"author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.facetFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.facetFilters","typeLabel":"any[] | string"},"filters":{"type":"string","description":"Filter expression to only include items that match the filter criteria in the response.\n\nYou can use these filter expressions:\n\n- **Numeric filters.** `\u003cfacet> \u003cop> \u003cnumber>`, where `\u003cop>` is one of `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\n- **Ranges.** `\u003cfacet>:\u003clower> TO \u003cupper>`, where `\u003clower>` and `\u003cupper>` are the lower and upper limits of the range (inclusive).\n- **Facet filters.** `\u003cfacet>:\u003cvalue>`, where `\u003cfacet>` is a facet attribute (case-sensitive) and `\u003cvalue>` a facet value.\n- **Tag filters.** `_tags:\u003cvalue>` or just `\u003cvalue>` (case-sensitive).\n- **Boolean filters.** `\u003cfacet>: true | false`.\n\nYou can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions:\n\n- You can only combine filters of the same type with `OR`.\n **Not supported:** `facet:value OR num > 3`.\n- You can't use `NOT` with combinations of filters.\n **Not supported:** `NOT(facet:value OR facet:value)`\n- You can't combine conjunctions (`AND`) with `OR`.\n **Not supported:** `facet:value OR (facet:value AND facet:value)`\n\nUse quotes if the facet attribute name or facet value contains spaces, keywords (`OR`, `AND`, `NOT`), or quotes.\nIf a facet attribute is an array, the filter matches if it matches at least one element of the array.\n\nFor more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering).\n","example":"(category:Book OR category:Ebook) AND _tags:published","x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.filters","typeLabel":"string"},"getRankingInfo":{"type":"boolean","description":"Whether the search response should include detailed ranking information.","default":false,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.getRankingInfo","typeLabel":"boolean"},"highlightPostTag":{"type":"string","description":"HTML tag to insert after the highlighted parts in all highlighted results and snippets.","default":"\u003c/em>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.highlightPostTag","typeLabel":"string"},"highlightPreTag":{"type":"string","description":"HTML tag to insert before the highlighted parts in all highlighted results and snippets.","default":"\u003cem>","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.highlightPreTag","typeLabel":"string"},"ignorePlurals":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"string","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","enum":["true","false"],"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"boolean","description":"Treat singular, plurals, and other forms of declensions as equivalent.\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ignorePlurals","typeLabel":"enum\u003cstring>[] | enum\u003cstring> | boolean"},"minProximity":{"type":"integer","minimum":1,"maximum":7,"description":"Minimum proximity score for two matching words.\nThis adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity)\nby equally scoring matches that are farther apart\nFor example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.\n","default":1,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.minProximity","typeLabel":"integer"},"minWordSizefor1Typo":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":4,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.minWordSizefor1Typo","typeLabel":"integer"},"minWordSizefor2Typos":{"type":"integer","description":"Minimum number of characters a word in the search query must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configure-word-size-threshold-for-typos).","default":8,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.minWordSizefor2Typos","typeLabel":"integer"},"naturalLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.naturalLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches).\n- Sets `removeStopWords` and `ignorePlurals` to the list of provided languages.\n- Sets `removeWordsIfNoResults` to `allOptional`.\n- Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.naturalLanguages","typeLabel":"enum\u003cstring>[]"},"numericFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.numericFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.numericFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filter by numeric facets.\n\n**Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.**\n\nYou can use numeric comparison operators: `\u003c`, `\u003c=`, `=`, `!=`, `>`, `>=`.\nComparisons are precise up to 3 decimals.\nYou can also provide ranges: `facet:\u003clower> TO \u003cupper>`. The range includes the lower and upper boundaries.\nThe same combination rules apply as for `facetFilters`.\n","x-categories":["Filtering"],"example":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.numericFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.numericFilters","typeLabel":"any[] | string"},"optionalFilters":{"oneOf":[{"type":"array","items":{"oneOf":[{}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalFilters.oneOf.0.items.[INDEX]","typeLabel":"any"},"description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalFilters.oneOf.0","typeLabel":"any[]"},{"type":"string","description":"Filters to promote or demote records in the search results.\n\nOptional filters work like facet filters, but they don't exclude records from the search results.\nRecords that match the optional filter rank before records that don't match.\nIf you're using a negative filter `facet:-value`, matching records rank after records that don't match.\n\n- Optional filters are applied _after_ sort-by attributes.\n- Optional filters are applied _before_ custom ranking attributes (in the default [ranking](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria)).\n- Optional filters don't work with numeric attributes.\n- On virtual replicas, optional filters are applied _after_ the replica's [relevant sort](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/relevant-sort).\n","x-categories":["Filtering"],"example":["category:Book","author:John Doe"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalFilters.oneOf.1","typeLabel":"string"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalFilters","typeLabel":"any[] | string"},"optionalWords":{"oneOf":[{"type":"string","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords.oneOf.0","typeLabel":"string"},{"type":"null","description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords.oneOf.1","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords.oneOf.2.items.[INDEX]","typeLabel":"string"},"description":"Words that should be considered optional when found in the query.\n\nBy default, records must match all words in the search query to be included in the search results.\nAdding optional words can increase the number of search results by running an additional search query that doesn't include the optional words.\nFor example, if the search query is \"action video\" and \"video\" is optional,\nthe search engine runs two queries: one for \"action video\" and one for \"action\".\nRecords that match all words are ranked higher.\n\nFor a search query with 4 or more words **and** all its words are optional,\nthe number of matched words required for a record to be included in the search results increases for every 1,000 records:\n\n- If `optionalWords` has fewer than 10 words, the required number of matched words increases by 1:\n results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 2 matched words.\n- If `optionalWords` has 10 or more words, the required number of matched words increases by the number of optional words divided by 5 (rounded down).\n Example: with 18 optional words, results 1 to 1,000 require 1 matched word; results 1,001 to 2,000 need 4 matched words.\n\nFor more information, see [Optional words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#create-a-list-of-optional-words).\n","default":[],"x-categories":["Query strategy"],"example":["blue","iphone case"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords.oneOf.2","typeLabel":"string[]"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.optionalWords","typeLabel":"string | null | string[]"},"percentileComputation":{"type":"boolean","description":"Whether to include this search when calculating processing-time percentiles.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.percentileComputation","typeLabel":"boolean"},"personalizationImpact":{"type":"integer","description":"Impact that Personalization should have on this search.\nThe higher this value is, the more Personalization determines the ranking compared to other factors.\nFor more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).\n","default":100,"minimum":0,"maximum":100,"x-categories":["Personalization"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.personalizationImpact","typeLabel":"integer"},"queryLanguages":{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.queryLanguages.items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["es"],"description":"Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries.\nThis setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings.\nThis setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages.\nTo support this, place the CJK language **first**.\n**Always specify a query language.**\nIf you don't specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages),\nor the languages you specified with the `ignorePlurals` or `removeStopWords` parameters.\nThis can lead to unexpected search results.\nFor more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).\n","default":[],"x-categories":["Languages"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.queryLanguages","typeLabel":"enum\u003cstring>[]"},"queryType":{"type":"string","enum":["prefixLast","prefixAll","prefixNone"],"description":"Determines if and how query words are interpreted as prefixes.\n\nBy default, only the last query word is treated as a prefix (`prefixLast`).\nTo turn off prefix search, use `prefixNone`.\nAvoid `prefixAll`, which treats all query words as prefixes.\nThis might lead to counterintuitive results and makes your search slower.\n\nFor more information, see [Prefix searching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/prefix-searching).\n","default":"prefixLast","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.queryType","typeLabel":"enum\u003cstring>"},"removeStopWords":{"oneOf":[{"type":"array","items":{"type":"string","description":"ISO code for a supported language.","enum":["af","ar","az","bg","bn","ca","cs","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","ga","gl","he","hi","hu","hy","id","is","it","ja","ka","kk","ko","ku","ky","lt","lv","mi","mn","mr","ms","mt","nb","nl","no","ns","pl","ps","pt","pt-br","qu","ro","ru","sk","sq","sv","sw","ta","te","th","tl","tn","tr","tt","uk","ur","uz","zh"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeStopWords.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeStopWords.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"boolean","description":"Removes stop words from the search query.\n\nStop words are common words like articles, conjunctions, prepositions, or pronouns that have little or no meaning on their own.\nIn English, \"the\", \"a\", or \"and\" are stop words.\n\nOnly use this feature for the languages used in your index.\n","default":false,"x-categories":["Languages"],"example":["ca","es"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeStopWords.oneOf.1","typeLabel":"boolean"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeStopWords","typeLabel":"enum\u003cstring>[] | boolean"},"removeWordsIfNoResults":{"type":"string","enum":["none","lastWords","firstWords","allOptional"],"example":"firstWords","description":"Strategy for removing words from the query when it doesn't return any results.\nThis helps to avoid returning empty search results.\n\n- `none`.\n No words are removed when a query doesn't return results.\n\n- `lastWords`.\n Treat the last (then second to last, then third to last) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `firstWords`.\n Treat the first (then second, then third) word as optional,\n until there are results or at most 5 words have been removed.\n\n- `allOptional`.\n Treat all words as optional.\n\nFor more information, see [Remove words to improve results](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/in-depth/why-use-remove-words-if-no-results).\n","default":"none","x-categories":["Query strategy"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.removeWordsIfNoResults","typeLabel":"enum\u003cstring>"},"replaceSynonymsInHighlight":{"type":"boolean","description":"Whether to replace a highlighted word with the matched synonym.\nBy default, the original words are highlighted even if a synonym matches.\nFor example, with `home` as a synonym for `house` and a search for `home`,\nrecords matching either \"home\" or \"house\" are included in the search results,\nand either \"home\" or \"house\" are highlighted\nWith `replaceSynonymsInHighlight` set to `true`, a search for `home` still matches the same records,\nbut all occurrences of \"house\" are replaced by \"home\" in the highlighted response.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.replaceSynonymsInHighlight","typeLabel":"boolean"},"responseFields":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.responseFields.items.[INDEX]","typeLabel":"string"},"description":"Properties to include in the API response of search and browse requests.\nBy default, all response properties are included.\nTo reduce the response size, you can select which properties should be included\nAn empty list may lead to an empty API response (except properties you can't exclude)\nYou can't exclude these properties:\n`message`, `warning`, `cursor`, `abTestVariantID`,\nor any property added by setting `getRankingInfo` to true\nYour search depends on the `hits` field. If you omit this field, searches won't return any results.\nYour UI might also depend on other properties, for example, for pagination.\nBefore restricting the response size, check the impact on your search experience.\n","default":["*"],"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.responseFields","typeLabel":"string[]"},"restrictHighlightAndSnippetArrays":{"type":"boolean","description":"Whether to restrict highlighting and snippeting to items that at least partially matched the search query.\nBy default, all items are highlighted and snippeted.\n","default":false,"x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.restrictHighlightAndSnippetArrays","typeLabel":"boolean"},"restrictSearchableAttributes":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.restrictSearchableAttributes.items.[INDEX]","typeLabel":"string"},"example":["title","author"],"description":"Restricts a search to a subset of your searchable attributes.\nAttribute names are case-sensitive.\n","default":[],"x-categories":["Filtering"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.restrictSearchableAttributes","typeLabel":"string[]"},"ruleContexts":{"type":"array","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ruleContexts.items.[INDEX]","typeLabel":"string"},"description":"Assigns a rule context to the search query.\n[Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#assign-context) are strings that you can use to trigger matching rules.\n","default":[],"example":["mobile"],"x-categories":["Rules"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.ruleContexts","typeLabel":"string[]"},"snippetEllipsisText":{"type":"string","description":"String used as an ellipsis indicator when a snippet is truncated.","default":"…","x-categories":["Highlighting and Snippeting"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.snippetEllipsisText","typeLabel":"string"},"synonyms":{"type":"boolean","description":"Whether to take into account an index's synonyms for this search.","default":true,"x-categories":["Advanced"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.synonyms","typeLabel":"boolean"},"typoTolerance":{"oneOf":[{"type":"boolean","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","default":true,"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.typoTolerance.oneOf.0","typeLabel":"boolean"},{"type":"string","title":"typo tolerance","description":"Whether [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance) is enabled and how it is applied.\n\nIf typo tolerance is true, `min`, or `strict`, [word splitting and concatenation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/splitting-and-concatenation) are also active.\n","enum":["min","strict","true","false"],"x-categories":["Typos"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.typoTolerance.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params.typoTolerance","typeLabel":"boolean | enum\u003cstring>"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider.params","typeLabel":"Composition common query parameters between main and injected items as object · object"}},"required":["index","configurationID"],"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3.externalProvider","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source.oneOf.3","typeLabel":"object"}],"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].source","typeLabel":"object"},"metadata":{"title":"injectedItemMetadata","type":"object","description":"Used to add metadata to the results of the injectedItem.","properties":{"hits":{"title":"injectedItemHitsMetadata","type":"object","description":"Adds the provided metadata to each injected hit via an `_extra` attribute.","properties":{"addItemKey":{"type":"boolean","description":"When true, each affected hit's `_extra` object includes an `_injectedItemKey` field identifying the injectedItem that inserted it. Defaults to false, meaning hits don't include `_injectedItemKey`. To identify injected hits without this flag, define your own key-value pairs in `extra`.","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].metadata.hits.addItemKey","typeLabel":"boolean"},"extra":{"type":"object","additionalProperties":true,"description":"The user-defined key-value pairs that will be placed in the `_extra` field of each affected hit.","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].metadata.hits.extra","typeLabel":"object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].metadata.hits","typeLabel":"injectedItemHitsMetadata · object"}},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX].metadata","typeLabel":"injectedItemMetadata · object"}},"required":["key","source","position","length"],"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems.items.[INDEX]","typeLabel":"object"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection.injectedItems","typeLabel":"object[]"}},"required":["main"],"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties.injection","typeLabel":"injection · object"}},"additionalProperties":false,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds.additionalProperties","typeLabel":"object"},"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feeds","typeLabel":"object"},"feedsOrder":{"type":"array","description":"A list of Feed IDs that specifies the order in which to order the results in the response. The IDs should be a subset of those in the Feeds object, and only those specified will be processed. When this field is not set, all Feeds are processed and returned with a default ordering.","items":{"type":"string","uniqueKey":"consequence.behavior.oneOf.1.multifeed.feedsOrder.items.[INDEX]","typeLabel":"string"},"uniqueKey":"consequence.behavior.oneOf.1.multifeed.feedsOrder","typeLabel":"string[]"}},"required":["feeds"],"example":{"feeds":{"products-feed":{"injection":{"main":{"source":{"search":{"index":"products"}}},"injectedItems":[{"key":"sponsored","position":0,"length":4,"source":{"search":{"index":"products","params":{"filters":"sponsored:true"}}}}]}},"articles-feed":{"injection":{"main":{"source":{"search":{"index":"articles"}}}}}},"feedsOrder":["products-feed","articles-feed"]},"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1.multifeed","typeLabel":"multifeed · object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"consequence.behavior.oneOf.1","typeLabel":"object"}],"isRequired":true,"uniqueKey":"consequence.behavior","typeLabel":"object"}},"required":["behavior"],"isRequired":true,"uniqueKey":"consequence","typeLabel":"compositionRuleConsequence · object"},"objectID":{"type":"string","example":"my_composition_rule_object_id","description":"Composition rule unique identifier.","isRequired":true,"uniqueKey":"objectID","typeLabel":"string"},"conditions":{"type":"array","minItems":0,"maxItems":25,"description":"Conditions that trigger a composition rule.","items":{"type":"object","additionalProperties":false,"properties":{"anchoring":{"type":"string","description":"Which part of the search query the pattern should match:\n\n- `startsWith`. The pattern must match the beginning of the query.\n- `endsWith`. The pattern must match the end of the query.\n- `is`. The pattern must match the query exactly.\n- `contains`. The pattern must match anywhere in the query.\n\nEmpty queries are only allowed as patterns with `anchoring: is`.\n","enum":["is","startsWith","endsWith","contains"],"uniqueKey":"conditions.items.[INDEX].anchoring","typeLabel":"enum\u003cstring>"},"context":{"type":"string","pattern":"[A-Za-z0-9_-]+","description":"An additional restriction that only triggers the rule, when the search has the same value as `ruleContexts` parameter.\nFor example, if `context: mobile`, the rule is only triggered when the search request has a matching `ruleContexts: mobile`.\nA rule context must only contain alphanumeric characters.\n","example":"mobile","uniqueKey":"conditions.items.[INDEX].context","typeLabel":"string"},"filters":{"type":"string","description":"Filters that trigger the rule.\n\nYou can add add filters using the syntax `facet:value` so that the rule is triggered, when the specific filter is selected.\nYou can use `filters` on its own or combine it with the `pattern` parameter.\n","example":"genre:comedy","uniqueKey":"conditions.items.[INDEX].filters","typeLabel":"string"},"pattern":{"type":"string","description":"Query pattern that triggers the rule.\n\nYou can use either a literal string, or a special pattern `{facet:ATTRIBUTE}`, where `ATTRIBUTE` is a facet name.\nThe rule is triggered if the query matches the literal string or a value of the specified facet.\nFor example, with `pattern: {facet:genre}`, the rule is triggered when users search for a genre, such as \"comedy\".\n","example":"{facet:genre}","uniqueKey":"conditions.items.[INDEX].pattern","typeLabel":"string"},"sortBy":{"type":"string","description":"Sort criteria that trigger the rule.\n\nYou can trigger composition rules based on the selected sorting strategy set by the parameter `sortBy`.\nThe rule will trigger if the value passed to `sortBy` matches the one defined in the condition.\n","example":"price-low-to-high","uniqueKey":"conditions.items.[INDEX].sortBy","typeLabel":"string"}},"uniqueKey":"conditions.items.[INDEX]","typeLabel":"object"},"uniqueKey":"conditions","typeLabel":"object[]"},"description":{"type":"string","description":"Description of the rule's purpose to help you distinguish between different rules.","example":"Display a promotional banner","uniqueKey":"description","typeLabel":"string"},"enabled":{"type":"boolean","default":true,"description":"Whether the rule is active.","uniqueKey":"enabled","typeLabel":"boolean"},"tags":{"type":"array","description":"A list of tags.","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"example":["conditional"],"uniqueKey":"tags","typeLabel":"string[]"},"validity":{"type":"array","description":"Time periods when the rule is active.","items":{"type":"object","additionalProperties":false,"properties":{"from":{"type":"integer","format":"int64","description":"Timestamp when the rule should start to be active, measured in seconds since the Unix epoch.","uniqueKey":"validity.items.[INDEX].from","typeLabel":"integer\u003cint64>"},"until":{"type":"integer","format":"int64","description":"Timestamp when the rule should stop to be active, measured in seconds since the Unix epoch.","uniqueKey":"validity.items.[INDEX].until","typeLabel":"integer\u003cint64>"}},"uniqueKey":"validity.items.[INDEX]","typeLabel":"object"},"uniqueKey":"validity","typeLabel":"object[]"}},"required":["objectID","consequence"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"consequence":{"behavior":{"injection":{"main":{"source":{"search":{"index":"Products","params":{"advancedSyntax":false,"advancedSyntaxFeatures":["exactPhrase","excludeWords"],"allowTyposOnNumericTokens":true,"alternativesAsExact":["ignorePlurals","singleWordSynonym"],"attributeCriteriaComputedByMinProximity":false,"attributesToHighlight":["author","title","conten","content"],"attributesToRetrieve":["author","title","content"],"attributesToSnippet":["content:80","description"],"clickAnalytics":false,"disableExactOnAttributes":["description"],"disableTypoToleranceOnAttributes":["sku"],"distinct":1,"enableABTest":true,"enablePersonalization":false,"enableReRanking":true,"enableRules":true,"exactOnSingleWordQuery":"attribute","facetFilters":[["category:Book","category:-Movie"],"author:John Doe"],"filters":"(category:Book OR category:Ebook) AND _tags:published","getRankingInfo":false,"highlightPostTag":"\u003c/em>","highlightPreTag":"\u003cem>","ignorePlurals":["ca","es"],"minProximity":1,"minWordSizefor1Typo":4,"minWordSizefor2Typos":8,"naturalLanguages":[],"numericFilters":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"optionalFilters":["category:Book","author:John Doe"],"optionalWords":"\u003cstring>","percentileComputation":true,"personalizationImpact":100,"queryLanguages":["es"],"queryType":"prefixLast","removeStopWords":["ca","es"],"removeWordsIfNoResults":"firstWords","replaceSynonymsInHighlight":false,"responseFields":["*"],"restrictHighlightAndSnippetArrays":false,"restrictSearchableAttributes":["title","author"],"ruleContexts":["mobile"],"snippetEllipsisText":"…","synonyms":true,"typoTolerance":true,"facetingAfterDistinct":false,"facets":["category","disjunctive(brand)","price"],"hitsPerPage":20,"maxValuesPerFacet":100,"renderingContent":{"facetOrdering":{"facets":{"order":["\u003cstring>"]},"values":{}},"redirect":{"url":"\u003cstring>"},"widgets":{"banners":[{"image":{"title":"\u003cstring>","urls":[{"url":"\u003cstring>"}]},"link":{"url":"\u003cstring>"}}],"resultCard":{"enabled":true}}},"sortFacetValuesBy":"count","sumOrFiltersScores":false}}}},"injectedItems":[{"key":"\u003cstring>","length":25,"position":49,"source":{"search":{"index":"Products","params":{"advancedSyntax":false,"advancedSyntaxFeatures":["exactPhrase","excludeWords"],"allowTyposOnNumericTokens":true,"alternativesAsExact":["ignorePlurals","singleWordSynonym"],"attributeCriteriaComputedByMinProximity":false,"attributesToHighlight":["author","title","conten","content"],"attributesToRetrieve":["author","title","content"],"attributesToSnippet":["content:80","description"],"clickAnalytics":false,"disableExactOnAttributes":["description"],"disableTypoToleranceOnAttributes":["sku"],"distinct":1,"enableABTest":true,"enablePersonalization":false,"enableReRanking":true,"enableRules":true,"exactOnSingleWordQuery":"attribute","facetFilters":[["category:Book","category:-Movie"],"author:John Doe"],"filters":"(category:Book OR category:Ebook) AND _tags:published","getRankingInfo":false,"highlightPostTag":"\u003c/em>","highlightPreTag":"\u003cem>","ignorePlurals":["ca","es"],"minProximity":1,"minWordSizefor1Typo":4,"minWordSizefor2Typos":8,"naturalLanguages":[],"numericFilters":[["inStock = 1","deliveryDate \u003c 1441755506"],"price \u003c 1000"],"optionalFilters":["category:Book","author:John Doe"],"optionalWords":"\u003cstring>","percentileComputation":true,"personalizationImpact":100,"queryLanguages":["es"],"queryType":"prefixLast","removeStopWords":["ca","es"],"removeWordsIfNoResults":"firstWords","replaceSynonymsInHighlight":false,"responseFields":["*"],"restrictHighlightAndSnippetArrays":false,"restrictSearchableAttributes":["title","author"],"ruleContexts":["mobile"],"snippetEllipsisText":"…","synonyms":true,"typoTolerance":true}}},"metadata":{"hits":{"addItemKey":true,"extra":{}}}}]}}},"objectID":"my_composition_rule_object_id","conditions":[{"context":"mobile","filters":"genre:comedy","pattern":"{facet:genre}","sortBy":"price-low-to-high"}],"description":"Display a promotional banner","enabled":true,"tags":["conditional"],"validity":[{"from":123,"until":123}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"57a41df1-b4bd-4670-bb52-a28008b82a49":{"description":"OK","headers":{"Correlation-ID":{"description":"Identifies the request in Algolia's logs, where it's the `cid` property of a log entry.\nInclude it when you contact the Algolia support team about a specific request.\nRetried requests can share an identifier, so don't use it as a unique key.\n","example":"MyAppl-1tMcE-a7BqLm2Pd0Z","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"title":"taskIDResponse","type":"object","additionalProperties":false,"properties":{"taskID":{"type":"integer","format":"int64","example":1514562690001,"description":"Unique identifier of a task.\n\nA successful API response means that a task was added to a queue.\nIt might not run immediately.\nYou can check the task's progress with the [`task` operation](https://www.algolia.com/doc/rest-api/search/get-task) and this task ID.\n","isRequired":true,"uniqueKey":"taskID","typeLabel":"integer\u003cint64>"}},"required":["taskID"],"uniqueKey":"","typeLabel":"taskIDResponse · object"},"examples":{"Example":{"title":"Example","value":{"taskID":1514562690001}}},"exampleType":"generated"}},"exampleType":"generated"},"027a4e8a-dcbb-412c-9029-040a7eb4daf3":{"description":"Bad request or request arguments.","content":{"application/json":{"schema":{"description":"Error.","type":"object","x-keep-model":true,"additionalProperties":true,"properties":{"message":{"type":"string","example":"Invalid Application-Id or API-Key","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid Application-Id or API-Key"}}},"exampleType":"generated"}},"exampleType":"generated"},"a689451b-2501-4dab-9d14-eea51e866493":{"description":"This feature is not enabled on your Algolia account.","content":{"application/json":{"schema":{"description":"Error.","type":"object","x-keep-model":true,"additionalProperties":true,"properties":{"message":{"type":"string","example":"Invalid Application-Id or API-Key","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid Application-Id or API-Key"}}},"exampleType":"generated"}},"exampleType":"generated"},"1fbfd262-79a7-46b6-b4bf-fda6f6509f98":{"description":"Method not allowed with this API key.","content":{"application/json":{"schema":{"description":"Error.","type":"object","x-keep-model":true,"additionalProperties":true,"properties":{"message":{"type":"string","example":"Invalid Application-Id or API-Key","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid Application-Id or API-Key"}}},"exampleType":"generated"}},"exampleType":"generated"},"d657383f-79c8-4d67-95a6-e6b11a3e2cef":{"description":"Composition not found.","content":{"application/json":{"schema":{"description":"Error.","type":"object","x-keep-model":true,"additionalProperties":true,"properties":{"message":{"type":"string","example":"Invalid Application-Id or API-Key","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid Application-Id or API-Key"}}},"exampleType":"generated"}},"exampleType":"generated"},"f1a668e9-c08e-46e2-82e8-7fac58bfc8e7":{"description":"Unprocessable Entity.","content":{"application/json":{"schema":{"description":"Error.","type":"object","x-keep-model":true,"additionalProperties":true,"properties":{"message":{"type":"string","example":"Invalid Application-Id or API-Key","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Invalid Application-Id or API-Key"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"01e6a922-4c10-43f1-9186-8cd657d2fd01":{"appId":{"type":"apiKey","in":"header","name":"x-algolia-application-id","description":"Your Algolia application ID.","scopes":[],"schemeName":"appId"},"apiKey":{"type":"apiKey","in":"header","name":"x-algolia-api-key","description":"Your Algolia API key with the necessary permissions to make the request.\nPermissions are controlled through access control lists (ACL) and access restrictions.\nThe required ACL to make a request is listed in each endpoint's reference.\n","scopes":[],"schemeName":"apiKey"}}},"servers":{"acd938a1-fc9c-4deb-b04d-50a01fc254c1":{"url":"https://{appId}.algolia.net","variables":{"appId":{"default":"ALGOLIA_APPLICATION_ID"}}},"a506c671-b9b2-462b-9b93-296dc0d51f7a":{"url":"https://{appId}-1.algolianet.com","variables":{"appId":{"default":"ALGOLIA_APPLICATION_ID"}}},"bad38b1a-db38-43aa-991a-24a24c3bb6e6":{"url":"https://{appId}-2.algolianet.com","variables":{"appId":{"default":"ALGOLIA_APPLICATION_ID"}}},"9206cf69-1aed-41a7-9eb0-000a444c80cf":{"url":"https://{appId}-3.algolianet.com","variables":{"appId":{"default":"ALGOLIA_APPLICATION_ID"}}},"3b60dfe4-153c-4f08-a14c-2e871cbde860":{"url":"https://{appId}-dsn.algolia.net","variables":{"appId":{"default":"ALGOLIA_APPLICATION_ID"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-algolia-application-id","description":"Your Algolia application ID.","scopes":[],"schemeName":"appId"},"schema":{"title":"x-algolia-application-id","type":"string","description":"Your Algolia application ID.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"appId","name":"x-algolia-application-id"},{"scheme":{"type":"apiKey","in":"header","name":"x-algolia-api-key","description":"Your Algolia API key with the necessary permissions to make the request.\nPermissions are controlled through access control lists (ACL) and access restrictions.\nThe required ACL to make a request is listed in each endpoint's reference.\n","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-algolia-api-key","type":"string","description":"Your Algolia API key with the necessary permissions to make the request.\nPermissions are controlled through access control lists (ACL) and access restrictions.\nThe required ACL to make a request is listed in each endpoint's reference.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-algolia-api-key"}],"title":"appId \u0026 apiKey"}]},"originalFileLocation":"specs/composition.yml"},"subdomain":"algolia","siteName":"Algolia","title":"Add or update a composition rule - Algolia","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-23T09:45:05.229Z","gitLastModified":"2026-03-23T09:42:41.000Z","originalFileLocation":"doc/rest-api/composition/put-composition-rule.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"If a composition rule with the provided ID already exists, it\u0026#x27;s replaced.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Algolia\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add or update a composition rule - Algolia\">\u003cmeta data-mint-head property=\"og:description\" content=\"If a composition rule with the provided ID already exists, it\u0026#x27;s replaced.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Algolia\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://algolia.mintlify.site/_mintlify/api/og/v2?division=Composition+Rules\u0026amp;title=Add+or+update+a+composition+rule\u0026amp;description=If+a+composition+rule+with+the+provided+ID+already+exists%2C+it%27s+replaced.\u0026amp;theme=7b696fa6ef3d890ba8a17746\u0026amp;signature=c669d41fa54d95525511c0a637b16a045758ee511276b8440b070da03349fdf2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Add or update a composition rule - Algolia\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"If a composition rule with the provided ID already exists, it\u0026#x27;s replaced.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://algolia.mintlify.site/_mintlify/api/og/v2?division=Composition+Rules\u0026amp;title=Add+or+update+a+composition+rule\u0026amp;description=If+a+composition+rule+with+the+provided+ID+already+exists%2C+it%27s+replaced.\u0026amp;theme=7b696fa6ef3d890ba8a17746\u0026amp;signature=c669d41fa54d95525511c0a637b16a045758ee511276b8440b070da03349fdf2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/algolia/pODf0GWwkpqTo2Wx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Algolia\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3970ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/doc/rest-api/composition/put-composition-rule.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.algolia.com/#organization\",\"name\":\"Algolia\",\"url\":\"https://www.algolia.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/algolia/kiecJp3hu-WXhj-3/logo/light.svg?fit=max\u0026auto=format\u0026n=kiecJp3hu-WXhj-3\u0026q=85\u0026s=bf613e260ca94c0eb23384e6c0d5c77f\"},\"sameAs\":[\"https://www.linkedin.com/company/algolia/\",\"https://github.com/algolia\",\"https://x.com/algolia\",\"https://www.youtube.com/channel/UCTNkiq-SO8hay1PRx-it9Cw\"]},{\"@type\":\"WebSite\",\"@id\":\"https://www.algolia.com#website\",\"name\":\"Algolia\",\"url\":\"https://www.algolia.com\",\"publisher\":{\"@id\":\"https://www.algolia.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule#webpage\",\"url\":\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule\",\"name\":\"Add or update a composition rule\",\"description\":\"If a composition rule with the provided ID already exists, it's replaced.\",\"dateModified\":\"2026-03-23T09:42:41.000Z\",\"isPartOf\":{\"@id\":\"https://www.algolia.com#website\"},\"breadcrumb\":{\"@id\":\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Composition API\",\"item\":\"https://www.algolia.com/doc/rest-api/composition\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Composition Rules\",\"item\":\"https://www.algolia.com/doc/rest-api/composition/get-rule\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Add or update a composition rule\",\"item\":\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule#apireference\",\"headline\":\"Add or update a composition rule\",\"name\":\"Add or update a composition rule\",\"description\":\"If a composition rule with the provided ID already exists, it's replaced.\",\"url\":\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule\",\"mainEntityOfPage\":{\"@id\":\"https://www.algolia.com/doc/rest-api/composition/put-composition-rule#webpage\"},\"dateModified\":\"2026-03-23T09:42:41.000Z\",\"publisher\":{\"@id\":\"https://www.algolia.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.algolia.com#website\"}}]}\u003c/script>","agentPointerHref":"/doc/rest-api/composition/put-composition-rule.md","siteName":"Algolia","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-text","pages":[{"title":"Guides","href":"/doc/guides/get-started"}]},{"tab":"Libraries and tools","icon":"wrench","menu":[{"item":"API clients","versions":[{"version":"current","groups":[{"group":"current","pages":[{"title":"current","href":"/doc/libraries/sdk"}]}]},{"version":"legacy","groups":[{"group":"legacy","pages":[{"title":"legacy","href":"/doc/libraries/sdk/v1/install"}]}]}]},{"item":"Algolia CLI","pages":[{"title":"Algolia CLI","href":"/doc/tools/cli/get-started"}]},{"item":"Algolia Wizard","pages":[{"title":"Algolia Wizard","href":"/doc/tools/algolia-wizard"}]},{"item":"Crawler","pages":[{"title":"Crawler","href":"/doc/tools/crawler/getting-started/overview"}]},{"item":"Django","pages":[{"title":"Django","href":"/doc/framework-integration/django/setup"}]},{"item":"Laravel","pages":[{"title":"Laravel","href":"/doc/framework-integration/laravel/getting-started/introduction-to-scout-extended"}]},{"item":"Ruby on Rails","pages":[{"title":"Ruby on Rails","href":"/doc/framework-integration/rails/getting-started/setup"}]},{"item":"Symfony","pages":[{"title":"Symfony","href":"/doc/framework-integration/symfony/getting-started/algolia-searchbundle"}]},{"item":"All libraries and tools","pages":[{"title":"All libraries and tools","href":"/doc/libraries"}]}],"pages":[{"title":"Libraries and tools","href":"/doc/libraries/sdk"}]},{"tab":"UI libraries","icon":"proportions","menu":[{"item":"InstantSearch.js","pages":[{"title":"InstantSearch.js","href":"/doc/api-reference/widgets/js"}]},{"item":"React InstantSearch","pages":[{"title":"React InstantSearch","href":"/doc/api-reference/widgets/react"}]},{"item":"Vue InstantSearch","pages":[{"title":"Vue InstantSearch","href":"/doc/api-reference/widgets/vue"}]},{"item":"InstantSearch iOS","pages":[{"title":"InstantSearch iOS","href":"/doc/api-reference/widgets/ios"}]},{"item":"InstantSearch Android","pages":[{"title":"InstantSearch Android","href":"/doc/api-reference/widgets/android"}]},{"item":"Algolia for Flutter","pages":[{"title":"Algolia for Flutter","href":"/doc/api-reference/widgets/flutter"}]},{"item":"Autocomplete","pages":[{"title":"Autocomplete","href":"/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete"}]},{"item":"All UI libraries","pages":[{"title":"All UI libraries","href":"/doc/ui-libraries"}]}],"pages":[{"title":"UI libraries","href":"/doc/api-reference/widgets/js"}]},{"tab":"Integrations","icon":"plug","menu":[{"item":"Adobe Commerce/Magento","pages":[{"title":"Adobe Commerce/Magento","href":"/doc/integration/magento-2/getting-started/quick-start"}]},{"item":"BigCommerce","pages":[{"title":"BigCommerce","href":"/doc/integration/bigcommerce/get-started/installation"}]},{"item":"commercetools","pages":[{"title":"commercetools","href":"/doc/integration/commercetools/get-started/installation"}]},{"item":"Make","pages":[{"title":"Make","href":"/doc/integration/make"}]},{"item":"n8n","pages":[{"title":"n8n","href":"/doc/integration/n8n"}]},{"item":"Salesforce B2C Commerce","pages":[{"title":"Salesforce B2C Commerce","href":"/doc/integration/salesforce-commerce-cloud-b2c/getting-started/introduction"}]},{"item":"Shopify","pages":[{"title":"Shopify","href":"/doc/integration/shopify/getting-started/quick-start"}]},{"item":"Stripe Projects","pages":[{"title":"Stripe Projects","href":"/doc/integration/stripe-projects"}]},{"item":"Zapier","pages":[{"title":"Zapier","href":"/doc/integration/zapier"}]},{"item":"Zendesk","pages":[{"title":"Zendesk","href":"/doc/integration/zendesk/get-started"}]},{"item":"Vercel","pages":[{"title":"Vercel","href":"/doc/integration/vercel"}]},{"item":"All integrations","pages":[{"title":"All integrations","href":"/doc/integration"}]}],"pages":[{"title":"Integrations","href":"/doc/integration/magento-2/getting-started/quick-start"}]},{"tab":"API reference","icon":"code","menu":[{"item":"Search","pages":[{"title":"Search","href":"/doc/rest-api/search"}]},{"item":"Agent Studio","pages":[{"title":"Agent Studio","href":"/doc/rest-api/agent-studio"}]},{"item":"A/B testing","pages":[{"title":"A/B testing","href":"/doc/rest-api/abtesting-v3"}]},{"item":"Advanced Personalization","pages":[{"title":"Advanced Personalization","href":"/doc/rest-api/advanced-personalization"}]},{"item":"Analytics","pages":[{"title":"Analytics","href":"/doc/rest-api/analytics"}]},{"item":"Classic Personalization","pages":[{"title":"Classic Personalization","href":"/doc/rest-api/personalization"}]},{"item":"Composition","groups":[{"group":"Composition API","icon":"code","pages":[{"title":"Composition API","sidebarTitle":"Overview","href":"/doc/rest-api/composition"},{"group":"Search","pages":[{"title":"Run a Composition","openapi":"specs/composition.yml post /1/compositions/{compositionID}/run","href":"/doc/rest-api/composition/search"},{"title":"Search for facet values","openapi":"specs/composition.yml post /1/compositions/{compositionID}/facets/{facetName}/query","href":"/doc/rest-api/composition/search-for-facet-values"}]},{"group":"Composition","pages":[{"title":"List compositions","openapi":"specs/composition.yml get /1/compositions","href":"/doc/rest-api/composition/list-compositions"},{"title":"Retrieve a composition","openapi":"specs/composition.yml get /1/compositions/{compositionID}","href":"/doc/rest-api/composition/get-composition"},{"title":"Update and insert (upsert) a composition","openapi":"specs/composition.yml put /1/compositions/{compositionID}","href":"/doc/rest-api/composition/put-composition"},{"title":"Delete a composition","openapi":"specs/composition.yml delete /1/compositions/{compositionID}","href":"/doc/rest-api/composition/delete-composition"},{"title":"Set or update the \"sortingStrategy\" configuration for an existing composition","openapi":"specs/composition.yml post /1/compositions/{compositionID}/sortingStrategy","href":"/doc/rest-api/composition/update-sorting-strategy-composition"},{"title":"Batch action to multiple compositions","openapi":"specs/composition.yml post /1/compositions/*/batch","href":"/doc/rest-api/composition/multiple-batch"}]},{"group":"Composition Rules","pages":[{"title":"Retrieve a rule","description":"Retrieves a rule by its ID.","openapi":"specs/composition.yml get /1/compositions/{compositionID}/rules/{objectID}","href":"/doc/rest-api/composition/get-rule"},{"title":"Add or update a composition rule","openapi":"specs/composition.yml put /1/compositions/{compositionID}/rules/{objectID}","href":"/doc/rest-api/composition/put-composition-rule"},{"title":"Delete a Composition Rule","description":"Delete a Composition Rule from the specified Composition ID.","openapi":"specs/composition.yml delete /1/compositions/{compositionID}/rules/{objectID}","href":"/doc/rest-api/composition/delete-composition-rule"},{"title":"Create or update or delete composition rules","openapi":"specs/composition.yml post /1/compositions/{compositionID}/rules/batch","href":"/doc/rest-api/composition/save-rules"},{"title":"Search for composition rules","openapi":"specs/composition.yml post /1/compositions/{compositionID}/rules/search","href":"/doc/rest-api/composition/search-composition-rules"}]},{"group":"Advanced","pages":[{"title":"Check task status","openapi":"specs/composition.yml get /1/compositions/{compositionID}/task/{taskID}","href":"/doc/rest-api/composition/get-task"}]}]}]},{"item":"Crawler","pages":[{"title":"Crawler","href":"/doc/rest-api/crawler"}]},{"item":"Ingestion","pages":[{"title":"Ingestion","href":"/doc/rest-api/ingestion"}]},{"item":"Insights","pages":[{"title":"Insights","href":"/doc/rest-api/insights"}]},{"item":"Monitoring","pages":[{"title":"Monitoring","href":"/doc/rest-api/monitoring"}]},{"item":"Recommend","pages":[{"title":"Recommend","href":"/doc/rest-api/recommend"}]},{"item":"Query Suggestions","pages":[{"title":"Query Suggestions","href":"/doc/rest-api/query-suggestions"}]},{"item":"Suggested Actions","pages":[{"title":"Suggested Actions","href":"/doc/rest-api/suggested-actions"}]},{"item":"Usage","pages":[{"title":"Usage","href":"/doc/rest-api/usage"}]},{"item":"All APIs","pages":[{"title":"All APIs","href":"/doc/rest-api"}]}]}]},"basePath":"","title":"Add or update a composition rule - Algolia","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}