Queues and runs operations such as AddDocument asynchronously, use the static methods, not a constructor.
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public class AsynchronousQueue
public class AsynchronousQueue
Public Class AsynchronousQueue
Public Class AsynchronousQueue
public ref class AsynchronousQueue
public ref class AsynchronousQueue
type AsynchronousQueue = class end
type AsynchronousQueue = class end
Members
All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() | (Inherited from Object.) | |
GetHashCode()()()() | (Inherited from Object.) | |
GetType()()()() | (Inherited from Object.) | |
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.
| |
QueueSize |
Current queue size (remaining items).
| |
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: 2015.6.15.120