@@ -1041,8 +1041,9 @@ private void OnUpdateConfigurationResponse(RESTConnector.Request req, RESTConnec
1041
1041
/// (both are present at the same time), then request is rejected. The maximum supported configuration size is 1
1042
1042
/// MB. Configuration parts larger than 1 MB are rejected.
1043
1043
/// See the `GET /configurations/{configuration_id}` operation for an example configuration. (optional)</param>
1044
- /// <param name="file">The content of the document to ingest. The maximum supported file size is 50 megabytes.
1045
- /// Files larger than 50 megabytes is rejected. (optional)</param>
1044
+ /// <param name="file">The content of the document to ingest. The maximum supported file size when adding a file
1045
+ /// to a collection is 50 megabytes, the maximum supported file size when testing a confiruration is 1 megabyte.
1046
+ /// Files larger than the supported size are rejected. (optional)</param>
1046
1047
/// <param name="filename">The filename for file. (optional)</param>
1047
1048
/// <param name="metadata">If you're using the Data Crawler to upload your documents, you can test a document
1048
1049
/// against the type of metadata that the Data Crawler might send. The maximum supported metadata file size is 1
@@ -2350,13 +2351,17 @@ private void OnListExpansionsResponse(RESTConnector.Request req, RESTConnector.R
2350
2351
/// * Fields with empty name values after normalization are filtered out before indexing.
2351
2352
///
2352
2353
/// * Fields containing the following characters after normalization are filtered out before indexing: `#` and
2353
- /// `,`.
2354
+ /// `,`
2355
+ ///
2356
+ /// **Note:** Documents can be added with a specific **document_id** by using the
2357
+ /// **_/v1/environments/{environment_id}/collections/{collection_id}/documents** method.
2354
2358
/// </summary>
2355
2359
/// <param name="callback">The callback function that is invoked when the operation completes.</param>
2356
2360
/// <param name="environmentId">The ID of the environment.</param>
2357
2361
/// <param name="collectionId">The ID of the collection.</param>
2358
- /// <param name="file">The content of the document to ingest. The maximum supported file size is 50 megabytes.
2359
- /// Files larger than 50 megabytes is rejected. (optional)</param>
2362
+ /// <param name="file">The content of the document to ingest. The maximum supported file size when adding a file
2363
+ /// to a collection is 50 megabytes, the maximum supported file size when testing a confiruration is 1 megabyte.
2364
+ /// Files larger than the supported size are rejected. (optional)</param>
2360
2365
/// <param name="filename">The filename for file. (optional)</param>
2361
2366
/// <param name="metadata">If you're using the Data Crawler to upload your documents, you can test a document
2362
2367
/// against the type of metadata that the Data Crawler might send. The maximum supported metadata file size is 1
@@ -2601,14 +2606,19 @@ private void OnGetDocumentStatusResponse(RESTConnector.Request req, RESTConnecto
2601
2606
/// <summary>
2602
2607
/// Update a document.
2603
2608
///
2604
- /// Replace an existing document. Starts ingesting a document with optional metadata.
2609
+ /// Replace an existing document or add a document with a specified **document_id**. Starts ingesting a document
2610
+ /// with optional metadata.
2611
+ ///
2612
+ /// **Note:** When uploading a new document with this method it automatically replaces any document stored with
2613
+ /// the same **document_id** if it exists.
2605
2614
/// </summary>
2606
2615
/// <param name="callback">The callback function that is invoked when the operation completes.</param>
2607
2616
/// <param name="environmentId">The ID of the environment.</param>
2608
2617
/// <param name="collectionId">The ID of the collection.</param>
2609
2618
/// <param name="documentId">The ID of the document.</param>
2610
- /// <param name="file">The content of the document to ingest. The maximum supported file size is 50 megabytes.
2611
- /// Files larger than 50 megabytes is rejected. (optional)</param>
2619
+ /// <param name="file">The content of the document to ingest. The maximum supported file size when adding a file
2620
+ /// to a collection is 50 megabytes, the maximum supported file size when testing a confiruration is 1 megabyte.
2621
+ /// Files larger than the supported size are rejected. (optional)</param>
2612
2622
/// <param name="filename">The filename for file. (optional)</param>
2613
2623
/// <param name="metadata">If you're using the Data Crawler to upload your documents, you can test a document
2614
2624
/// against the type of metadata that the Data Crawler might send. The maximum supported metadata file size is 1
@@ -2901,11 +2911,13 @@ private void OnFederatedQueryResponse(RESTConnector.Request req, RESTConnector.R
2901
2911
/// <param name="aggregation">An aggregation search that returns an exact answer by combining query search with
2902
2912
/// filters. Useful for applications to build lists, tables, and time series. For a full list of possible
2903
2913
/// aggregations, see the Query reference. (optional)</param>
2904
- /// <param name="count">Number of results to return. (optional)</param>
2914
+ /// <param name="count">Number of results to return. The maximum for the **count** and **offset** values
2915
+ /// together in any one query is **10000**. (optional)</param>
2905
2916
/// <param name="returnFields">A comma-separated list of the portion of the document hierarchy to return.
2906
2917
/// (optional)</param>
2907
2918
/// <param name="offset">The number of query results to skip at the beginning. For example, if the total number
2908
- /// of results that are returned is 10 and the offset is 8, it returns the last two results. (optional)</param>
2919
+ /// of results that are returned is 10 and the offset is 8, it returns the last two results. The maximum for the
2920
+ /// **count** and **offset** values together in any one query is **10000**. (optional)</param>
2909
2921
/// <param name="sort">A comma-separated list of fields in the document to sort on. You can optionally specify a
2910
2922
/// sort direction by prefixing the field with `-` for descending or `+` for ascending. Ascending is the default
2911
2923
/// sort direction if no prefix is specified. (optional)</param>
@@ -3357,11 +3369,13 @@ private void OnQueryEntitiesResponse(RESTConnector.Request req, RESTConnector.Re
3357
3369
/// <param name="aggregation">An aggregation search that returns an exact answer by combining query search with
3358
3370
/// filters. Useful for applications to build lists, tables, and time series. For a full list of possible
3359
3371
/// aggregations, see the Query reference. (optional)</param>
3360
- /// <param name="count">Number of results to return. (optional)</param>
3372
+ /// <param name="count">Number of results to return. The maximum for the **count** and **offset** values
3373
+ /// together in any one query is **10000**. (optional)</param>
3361
3374
/// <param name="returnFields">A comma-separated list of the portion of the document hierarchy to return.
3362
3375
/// (optional)</param>
3363
3376
/// <param name="offset">The number of query results to skip at the beginning. For example, if the total number
3364
- /// of results that are returned is 10 and the offset is 8, it returns the last two results. (optional)</param>
3377
+ /// of results that are returned is 10 and the offset is 8, it returns the last two results. The maximum for the
3378
+ /// **count** and **offset** values together in any one query is **10000**. (optional)</param>
3365
3379
/// <param name="sort">A comma-separated list of fields in the document to sort on. You can optionally specify a
3366
3380
/// sort direction by prefixing the field with `-` for descending or `+` for ascending. Ascending is the default
3367
3381
/// sort direction if no prefix is specified. (optional)</param>
@@ -4952,7 +4966,8 @@ private void OnGetMetricsQueryNoResultsResponse(RESTConnector.Request req, RESTC
4952
4966
/// an individual word or unigram within the query string.
4953
4967
/// </summary>
4954
4968
/// <param name="callback">The callback function that is invoked when the operation completes.</param>
4955
- /// <param name="count">Number of results to return. (optional)</param>
4969
+ /// <param name="count">Number of results to return. The maximum for the **count** and **offset** values
4970
+ /// together in any one query is **10000**. (optional)</param>
4956
4971
/// <returns><see cref="MetricTokenResponse" />MetricTokenResponse</returns>
4957
4972
public bool GetMetricsQueryTokenEvent ( Callback < MetricTokenResponse > callback , long ? count = null )
4958
4973
{
@@ -5033,9 +5048,11 @@ private void OnGetMetricsQueryTokenEventResponse(RESTConnector.Request req, REST
5033
5048
/// text, but with the most relevant documents listed first. Use a query search when you want to find the most
5034
5049
/// relevant search results. You cannot use **natural_language_query** and **query** at the same time.
5035
5050
/// (optional)</param>
5036
- /// <param name="count">Number of results to return. (optional)</param>
5051
+ /// <param name="count">Number of results to return. The maximum for the **count** and **offset** values
5052
+ /// together in any one query is **10000**. (optional)</param>
5037
5053
/// <param name="offset">The number of query results to skip at the beginning. For example, if the total number
5038
- /// of results that are returned is 10 and the offset is 8, it returns the last two results. (optional)</param>
5054
+ /// of results that are returned is 10 and the offset is 8, it returns the last two results. The maximum for the
5055
+ /// **count** and **offset** values together in any one query is **10000**. (optional)</param>
5039
5056
/// <param name="sort">A comma-separated list of fields in the document to sort on. You can optionally specify a
5040
5057
/// sort direction by prefixing the field with `-` for descending or `+` for ascending. Ascending is the default
5041
5058
/// sort direction if no prefix is specified. (optional)</param>
0 commit comments