MS 2.7.4.01Indexierung Vektorfelder automatische Idnexe
This commit is contained in:
@@ -322,10 +322,8 @@ Public Class frmIndex
|
||||
Dim oErgebnis
|
||||
'Welcher Provider?
|
||||
If vProvider.ToLower = "oracle" Then
|
||||
|
||||
'oErgebnis = ClassDatabase.OracleExecute_Scalar(SQLCommand, oConnectionString)
|
||||
LOGGER.Warn("Oracle Database Queries are not supported")
|
||||
|
||||
Else 'im Moment nur SQL-Server
|
||||
oErgebnis = DATABASE_ECM.GetScalarValueWithConnection(SQLCommand, oConnectionString)
|
||||
End If
|
||||
@@ -802,14 +800,14 @@ Public Class frmIndex
|
||||
_Logger.Debug($"Indexing Vektor - oIndexType [{oIndexType}] ...")
|
||||
Dim oSplitArray = Split(idxvalue, ClassConstants.VECTORSEPARATOR)
|
||||
Dim oListofString As New List(Of String)
|
||||
If oSplitArray.Length <= 1 Then
|
||||
indexierung_erfolgreich = WINDREAM.SetFileIndex(CURRENT_NEWFILENAME, indexname, idxvalue, CURR_DOKART_OBJECTTYPE)
|
||||
Else
|
||||
For Each oStr In oSplitArray
|
||||
oListofString.Add(oStr)
|
||||
Next
|
||||
indexierung_erfolgreich = WINDREAM.SetFileIndexLoS(CURRENT_NEWFILENAME, indexname, oListofString, CURR_DOKART_OBJECTTYPE)
|
||||
End If
|
||||
'If oSplitArray.Length <= 1 Then
|
||||
' indexierung_erfolgreich = WINDREAM.SetFileIndex(CURRENT_NEWFILENAME, indexname, idxvalue, CURR_DOKART_OBJECTTYPE)
|
||||
'Else
|
||||
For Each oStr In oSplitArray
|
||||
oListofString.Add(oStr)
|
||||
Next
|
||||
indexierung_erfolgreich = WINDREAM.SetFileIndexLoS(CURRENT_NEWFILENAME, indexname, oListofString, CURR_DOKART_OBJECTTYPE)
|
||||
'End If
|
||||
|
||||
Else
|
||||
indexierung_erfolgreich = WINDREAM.SetFileIndex(CURRENT_NEWFILENAME, indexname, idxvalue, CURR_DOKART_OBJECTTYPE)
|
||||
@@ -1603,9 +1601,6 @@ Public Class frmIndex
|
||||
checkItemDeleteSource.Enabled = True
|
||||
checkItemDeleteSource.Checked = CONFIG.Config.DeleteOriginalFile
|
||||
|
||||
VIEWER_LICENSE = DATABASE_ECM.GetScalarValue($"SELECT LICENSE FROM TBDD_3RD_PARTY_MODULES WHERE
|
||||
NAME = 'GDPICTURE_FILEFLOW' AND ACTIVE = 1")
|
||||
|
||||
DocumentViewer1.Init(LOGCONFIG, VIEWER_LICENSE)
|
||||
|
||||
If DropType Is Nothing Then
|
||||
@@ -2295,7 +2290,7 @@ Public Class frmIndex
|
||||
Dim oConnectionString As String
|
||||
oConnectionString = DATABASE_ECM.Get_ConnectionStringforID(oSqlConnectionId)
|
||||
Try
|
||||
Dim oResultDT As DataTable = DATABASE_ECM.GetDatatable(oSqlResult)
|
||||
Dim oResultDT As DataTable = DATABASE_ECM.GetDatatableWithConnection(oSqlResult, oConnectionString)
|
||||
If Not IsNothing(oResultDT) Then
|
||||
_Logger.Info("We got [" & oResultDT.Rows.Count & "] result(s) for the vector-field!")
|
||||
For Each oResultRow As DataRow In oResultDT.Rows
|
||||
|
||||
Reference in New Issue
Block a user