Adds a new indexing command to the command queue.
If QueueMaxSizeBytes is defined, the Enqueue method may block until either WaitUntilEmpty or GetCurrentCommands is invoked,
if the current size of the queued commands exceeds the specified threshold.
In that case, maxWait may be used to control the maximum period of time to wait.
Namespace: Ankiro.SearchServer.Data.IndexingContextAssembly: Ankiro.SearchServer.Data (in Ankiro.SearchServer.Data.dll) Version: 1.13.770.19207 (1.13.770.19207)
Syntax
Parameters
- maxWait (Optional)
- Type: System Nullable TimeSpan
Return Value
Type: Int32See Also