Class FulltextIndexManager
Stellt funktionen bereit, um mit dem Simplic FulltextIndex zu arbeiten
Inheritance
Inherited Members
Namespace: Simplic.Framework.Extension.FulltextIndex
Assembly: Simplic.Framework.Extension.dll
Syntax
public class FulltextIndexManager
Properties
| Improve this Doc View SourceSingleton
Declaration
public static FulltextIndexManager Singleton { get; }
Property Value
Type | Description |
---|---|
FulltextIndexManager |
Methods
| Improve this Doc View SourceAddDocumentTask(Guid, String, Int32)
Erstellt eine Aufgabe, so dass das Blob voltlextindiziert wird
Declaration
public void AddDocumentTask(Guid BlobGuid, string FileExtension, int ArchiveSourceId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | BlobGuid | Guid des Blobs |
System.String | FileExtension | Dateierweiterung des Dokuments |
System.Int32 | ArchiveSourceId | Gibt die zu verwendende Archiv-Quelle an |
AddInstanceDataTask(Guid, Guid)
Erstellt eine Aufgabe, so dass der Instanzdatensatz volltextindiziert wird
Declaration
public void AddInstanceDataTask(Guid StackGuid, Guid InstanceDataGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | StackGuid | Guid der Ablage |
System.Guid | InstanceDataGuid | Guid des Instanzdatensatzes |
GetContentExtractionFulltextStatus(Guid, String, FulltextStatusType)
Get the static of the content extraction data (document fulltext)
Declaration
public int GetContentExtractionFulltextStatus(Guid stackGuid, string blobColumn, FulltextStatusType status)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackGuid | Guid of the stack |
System.String | blobColumn | Name of the blob-column. Default should be BlobGuid |
FulltextStatusType | status | Status type to retrieve |
Returns
Type | Description |
---|---|
System.Int32 | Amount of data in the specific status type |
GetCurrentProvider()
Gibt den aktuellen Provider zurück
Declaration
public IFulltextIndexProvider GetCurrentProvider()
Returns
Type | Description |
---|---|
IFulltextIndexProvider |
GetInstanceDataFulltextStatus(Guid, FulltextStatusType)
Get the status of instance data fulltext data
Declaration
public int GetInstanceDataFulltextStatus(Guid stackGuid, FulltextStatusType status)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackGuid | Guid of the stack (contact, document, ...) |
FulltextStatusType | status | Status type |
Returns
Type | Description |
---|---|
System.Int32 | Amount of data |
IndexFailedDocuments(Guid, String)
Index all documents which failed before
Declaration
public void IndexFailedDocuments(Guid stackGuid, string blobColumn = "BlobGuid")
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackGuid | Guid of the stack |
System.String | blobColumn | Name of the blob clolumn, default should be BlobGuid |
IndexFailedInstanceData(Guid)
Execute the fulltext index for all not indexed data, because an error occurred
Declaration
public void IndexFailedInstanceData(Guid stackGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackGuid | Guid of the stack |
IndexNotIndexedDocuments(Guid, String, String)
Index all data, which are currently not indexed (DCE)
Declaration
public void IndexNotIndexedDocuments(Guid stackGuid, string blobColumn = "BlobGuid", string fileExtensionColumn = "FileExtension")
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackGuid | Guid of the stack |
System.String | blobColumn | Name of the blob clolumn, default should be BlobGuid |
System.String | fileExtensionColumn | Name of the column which defines the document extension |
IndexNotIndexedInstanceData(Guid)
Execute the fulltext index for all not indexed data
Declaration
public void IndexNotIndexedInstanceData(Guid stackGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackGuid | Guid of the stack |
RefreshCompleteDCEndex(Guid, String, String)
Refresh the complete instance data fulltext for a stack
Declaration
public void RefreshCompleteDCEndex(Guid stackGuid, string blobColumn = "BlobGuid", string fileExtensionColumn = "FileExtension")
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackGuid | Guid of the stack |
System.String | blobColumn | |
System.String | fileExtensionColumn |
RefreshCompleteInstanceDataIndex(Guid)
Refresh the complete instance data fulltext for a stack
Declaration
public void RefreshCompleteInstanceDataIndex(Guid stackGuid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | stackGuid | Guid of the stack |
RegisterProvider(String, Type)
Registreit einen neuen FI provider
Declaration
public void RegisterProvider(string Name, Type Provider)
Parameters
Type | Name | Description |
---|---|---|
System.String | Name | Name des Providers, der auch in der Tabelle FulltextIndex_Provider angegeben wurde |
System.Type | Provider | Type des Providers |
SetDocumentFulltext(Guid, String, String)
Setzt den Fulltext für ein Dokument
Declaration
public void SetDocumentFulltext(Guid BlobGuid, string originalContent, string Content)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | BlobGuid | Guid des Blobs |
System.String | originalContent | Original content |
System.String | Content | Gibt den Inhalt des Dokumentes (=Voltlext) an |
SetInstanceDataFullText(Guid, Guid, String)
Setzt den Fulltext für einen Instanzdatensatz
Declaration
public void SetInstanceDataFullText(Guid StackGuid, Guid InstanceDataGuid, string Content)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | StackGuid | Guid der Ablage |
System.Guid | InstanceDataGuid | Guid des Instanzdatensatzes |
System.String | Content | Gibt den Inhalt des Instanzdatensatzes an |