AiRagControllerPostRetryIndexing - метод

Retries indexing specified document (or all documents if not specified) of a specific collection.

Definition

Пространство имён: Tessa.Web.Controllers
Сборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
[HttpPostAttribute("indexing/{collectionID:guid}")]
[HttpPostAttribute("indexing/{collectionID:guid}/{documentID:guid}")]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> PostRetryIndexing(
	[FromRouteAttribute] Guid collectionID,
	[FromRouteAttribute] Guid? documentID = null,
	[FromQueryAttribute] bool synchronize = false,
	CancellationToken cancellationToken = default
)

Параметры

collectionID  Guid
The unique identifier of the collection.
documentID  NullableGuid  (Optional)
The unique identifier of the document if specified.
synchronize  Boolean  (Optional)
Pass to rebuild the collection from its actual document instead of reindexing what the index already contains. Ignored if the document is specified.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskActionResult

См. также