AiRagControllerPostRetryIndexing - метод
Retries indexing specified document (or all documents if not specified) of a specific collection.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
[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
)
<HttpPostAttribute("indexing/{collectionID:guid}")>
<HttpPostAttribute("indexing/{collectionID:guid}/{documentID:guid}")>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function PostRetryIndexing (
<FromRouteAttribute> collectionID As Guid,
<FromRouteAttribute> Optional documentID As Guid? = Nothing,
<FromQueryAttribute> Optional synchronize As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpPostAttribute(L"indexing/{collectionID:guid}")]
[HttpPostAttribute(L"indexing/{collectionID:guid}/{documentID:guid}")]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult^>^ PostRetryIndexing(
[FromRouteAttribute] Guid collectionID,
[FromRouteAttribute] Nullable<Guid> documentID = nullptr,
[FromQueryAttribute] bool synchronize = false,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("indexing/{collectionID:guid}")>]
[<HttpPostAttribute("indexing/{collectionID:guid}/{documentID:guid}")>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member PostRetryIndexing :
[<FromRouteAttribute>] collectionID : Guid *
[<FromRouteAttribute>] ?documentID : Nullable<Guid> *
[<FromQueryAttribute>] ?synchronize : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _documentID = defaultArg documentID null
let _synchronize = defaultArg synchronize false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- 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