Keyoti SearchUnit API Docs
AsynchronousQueue Class
API DocumentationKeyoti.SearchEngine.IndexAsynchronousQueue
Keyoti SearchUnit v6
Queues and runs operations such as AddDocument asynchronously, use the static methods, not a constructor.
Declaration Syntax
C#Visual Basic
public class AsynchronousQueue
Public Class AsynchronousQueue
Members
All MembersMethodsProperties



IconMemberDescription
Equals(Object) (Inherited from Object.)
Finalize()()()() (Inherited from Object.)
GetHashCode()()()() (Inherited from Object.)
GetType()()()() (Inherited from Object.)
Interrupt(Configuration)
Writes a file named "interrupt" to the index directory to stop the asychronous indexing. The queue is reloaded from the disk when the next queued item is added.

IsQueueInterruptFlagged(Configuration)
MemberwiseClone()()()() (Inherited from Object.)
QueueForIndexing(Document, EventHandler)
Adds the document to the queue for adding to the index - the document will be indexed asynchronously as soon as possible.

QueueForRemoval(Document, EventHandler)
Adds the document to the queue for removing from the index - the document will be removed asynchronously as soon as possible.

QueueSize
Current queue size (remaining items).

Resume(Configuration, EventHandler)
ToString()()()() (Inherited from Object.)
Remarks
This class will create and close a DocumentIndex instance as required, it is important therefore that no other DocumentIndex instance is open on the same index directory while the queue has items.

Typical usage is to call AsynchronousQueue.QueueForIndexing with the document and an EventHandler delegate, please see the Help example on programmatic importing.

Inheritance Hierarchy
Object
AsynchronousQueue

Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610