You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** A comma-separated list of the portion of the document hierarchy to return. */
4708
-
return_fields?: string[];
4692
+
return_fields?: string;
4709
4693
/** The number of query results to skip at the beginning. For example, if the total number of results that are returned is 10 and the offset is 8, it returns the last two results. */
4710
4694
offset?: number;
4711
4695
/** A comma-separated list of fields in the document to sort on. You can optionally specify a sort direction by prefixing the field with `-` for descending or `+` for ascending. Ascending is the default sort direction if no prefix is specified. This parameter cannot be used in the same query as the **bias** parameter. */
4712
-
sort?: string[];
4696
+
sort?: string;
4713
4697
/** When true, a highlight field is returned for each result which contains the fields which match the query with `<em></em>` tags around the matching query terms. */
4714
4698
highlight?: boolean;
4715
4699
/** A comma-separated list of fields that passages are drawn from. If this parameter not specified, then all top-level fields are included. */
4716
-
passages_fields?: string[];
4700
+
passages_fields?: string;
4717
4701
/** The maximum number of passages to return. The search returns fewer passages if the requested total is not found. The default is `10`. The maximum is `100`. */
4718
4702
passages_count?: number;
4719
4703
/** The approximate number of characters that any one passage will have. */
@@ -4723,13 +4707,13 @@ namespace DiscoveryV1 {
4723
4707
/** When specified, duplicate results based on the field specified are removed from the returned results. Duplicate comparison is limited to the current query only, **offset** is not considered. This parameter is currently Beta functionality. */
4724
4708
deduplicate_field?: string;
4725
4709
/** A comma-separated list of collection IDs to be queried against. Required when querying multiple collections, invalid when performing a single collection query. */
4726
-
collection_ids?: string[];
4710
+
collection_ids?: string;
4727
4711
/** When `true`, results are returned based on their similarity to the document IDs specified in the **similar.document_ids** parameter. */
4728
4712
similar?: boolean;
4729
4713
/** A comma-separated list of document IDs to find similar documents. **Tip:** Include the **natural_language_query** parameter to expand the scope of the document similarity search with the natural language query. Other query parameters, such as **filter** and **query**, are subsequently applied and reduce the scope. */
4730
-
similar_document_ids?: string[];
4714
+
similar_document_ids?: string;
4731
4715
/** A comma-separated list of field names that are used as a basis for comparison to identify similar documents. If not specified, the entire document is used for comparison. */
4732
-
similar_fields?: string[];
4716
+
similar_fields?: string;
4733
4717
/** Field which the returned results will be biased against. The specified field must be either a **date** or **number** format. When a **date** type field is specified returned results are biased towards field values closer to the current date. When a **number** type field is specified, returned results are biased towards higher field values. This parameter cannot be used in the same query as the **sort** parameter. */
4734
4718
bias?: string;
4735
4719
/** If `true`, queries are not stored in the Discovery **Logs** endpoint. */
@@ -4793,15 +4777,15 @@ namespace DiscoveryV1 {
4793
4777
/** Number of results to return. */
4794
4778
count?: number;
4795
4779
/** A comma-separated list of the portion of the document hierarchy to return. */
4796
-
return_fields?: string[];
4780
+
return_fields?: string;
4797
4781
/** The number of query results to skip at the beginning. For example, if the total number of results that are returned is 10 and the offset is 8, it returns the last two results. */
4798
4782
offset?: number;
4799
4783
/** A comma-separated list of fields in the document to sort on. You can optionally specify a sort direction by prefixing the field with `-` for descending or `+` for ascending. Ascending is the default sort direction if no prefix is specified. This parameter cannot be used in the same query as the **bias** parameter. */
4800
-
sort?: string[];
4784
+
sort?: string;
4801
4785
/** When true, a highlight field is returned for each result which contains the fields which match the query with `<em></em>` tags around the matching query terms. */
4802
4786
highlight?: boolean;
4803
4787
/** A comma-separated list of fields that passages are drawn from. If this parameter not specified, then all top-level fields are included. */
4804
-
passages_fields?: string[];
4788
+
passages_fields?: string;
4805
4789
/** The maximum number of passages to return. The search returns fewer passages if the requested total is not found. The default is `10`. The maximum is `100`. */
4806
4790
passages_count?: number;
4807
4791
/** The approximate number of characters that any one passage will have. */
@@ -4811,13 +4795,13 @@ namespace DiscoveryV1 {
4811
4795
/** When specified, duplicate results based on the field specified are removed from the returned results. Duplicate comparison is limited to the current query only, **offset** is not considered. This parameter is currently Beta functionality. */
4812
4796
deduplicate_field?: string;
4813
4797
/** A comma-separated list of collection IDs to be queried against. Required when querying multiple collections, invalid when performing a single collection query. */
4814
-
collection_ids?: string[];
4798
+
collection_ids?: string;
4815
4799
/** When `true`, results are returned based on their similarity to the document IDs specified in the **similar.document_ids** parameter. */
4816
4800
similar?: boolean;
4817
4801
/** A comma-separated list of document IDs to find similar documents. **Tip:** Include the **natural_language_query** parameter to expand the scope of the document similarity search with the natural language query. Other query parameters, such as **filter** and **query**, are subsequently applied and reduce the scope. */
4818
-
similar_document_ids?: string[];
4802
+
similar_document_ids?: string;
4819
4803
/** A comma-separated list of field names that are used as a basis for comparison to identify similar documents. If not specified, the entire document is used for comparison. */
4820
-
similar_fields?: string[];
4804
+
similar_fields?: string;
4821
4805
/** Field which the returned results will be biased against. The specified field must be either a **date** or **number** format. When a **date** type field is specified returned results are biased towards field values closer to the current date. When a **number** type field is specified, returned results are biased towards higher field values. This parameter cannot be used in the same query as the **sort** parameter. */
4822
4806
bias?: string;
4823
4807
/** If `true`, queries are not stored in the Discovery **Logs** endpoint. */
0 commit comments