We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
abTestID
SearchResponse
1 parent 76c7061 commit 05059f2Copy full SHA for 05059f2
packages/client-search/src/types/SearchResponse.ts
@@ -155,6 +155,11 @@ export type SearchResponse<TObject = {}> = {
155
*/
156
indexUsed?: string;
157
158
+ /**
159
+ * If a search encounters an index that is being A/B tested, abTestID reports the ongoing A/B test ID.
160
+ */
161
+ abTestID?: number;
162
+
163
/**
164
* In case of AB test, reports the variant ID used. The variant ID is the position in the array of variants (starting at 1).
165
0 commit comments