opensearch-ts 1.2.7 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/search.d.ts +2 -1
- package/package.json +1 -1
package/dist/search.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ShardStatistics } from "@opensearch-project/opensearch/api/_types/_common";
|
|
2
|
-
import { TotalHits } from "@opensearch-project/opensearch/api/_types/_core.search";
|
|
2
|
+
import { Highlight, TotalHits } from "@opensearch-project/opensearch/api/_types/_core.search";
|
|
3
3
|
import { RequireAtLeastOne, RequireExactlyOne } from "type-fest";
|
|
4
4
|
import { AggTypeDictionaryRecursive, AggsQuery } from "./aggInput";
|
|
5
5
|
import { AggTypeResponseDictionary2 } from "./aggOutput";
|
|
@@ -161,6 +161,7 @@ export type Search<T, A extends AggsQuery> = {
|
|
|
161
161
|
response?: SearchResponse<T, A>;
|
|
162
162
|
/** Index used for the search */
|
|
163
163
|
index?: string;
|
|
164
|
+
highlight?: Highlight;
|
|
164
165
|
};
|
|
165
166
|
/**
|
|
166
167
|
* Type 'ResponseItem' is not assignable to type 'SearchResponse<T, A>'.
|