Skip to main content

%iFind.Filer.Basic

Internal class implementing filing code. Do not access directly.

Method Inventory

Methods

classmethod Delete(pID As %Integer, pIndexLocation As %String, ByRef pIndexParams)
classmethod FileIndex(pDirect As %iFind.DirectInput, pIndexer As %iKnow.Indexer, pIndexName As %String = "", pIndexLocation As %String(MAXLEN=""), pRecordID As %Integer, ByRef pIndexParams)
classmethod FileIndexFromDM(pDirect As %iFind.DirectInput, pIndexer As %iKnow.Indexer, pIndexName As %String = "", pIndexLocation As %String(MAXLEN=""), pRecordID As %Integer, ByRef pIndexParams, pOffSet=0)
classmethod FileLanguage(pIndexLocation As %String, pRecordID As %String)
INPUT: %ifsLang(languageID) = "" OUTPUT: @pIndexLocation@($$$IFGLOBALLANGUAGE,languageID,recOffset) = $bit(recordId)
classmethod FileWords(ByRef pIndexLocation As %String, pRecordID As %Integer, ByRef pIndexParams)
INPUT: %wordD(wordInt) = wordValue %wordI(" "_wordValue) = wordInt %wordB = totalWordCount %wordB(wordInt, positionOffset) $bit(position) %wordT(transfoID, stringInt, wordInt) = "" OUTPUT: %wordIntIdToId(wordInt) = wordId (if SAVEWORDIDS=1) ^IRIS.IF.WordD(wordId) = wordValue ^IRIS.IF.WordI(" "_wordValue) = wordId ^IRIS.IF.WordRI(revWord) = wordId ^IRIS.IF.WordCP(chr,loc,wordIdOff) = $bit(wordId) ^IRIS.IF.TransfoB(transfoID,wordIdOff) = $bit(wordId) ^IRIS.IF.TransfoW(transfoID, stringId, wordId) = "" @pIndexLocation@($$$IFGLOBALSUBWORD,wordId,recOffset) = $bit(record) @pIndexLocation@($$$IFGLOBALSUBWORD,wordId) = [document frequency] @pIndexLocation@($$$IFGLOBALSUBWORDPOS,pRecordID) = totalWordCount if SAVEPOSITIONINFO=1 @pIndexLocation@($$$IFGLOBALSUBWORDPOS,pRecordID,wordId,positionOffset) = $bit(position) else @pIndexLocation@($$$IFGLOBALSUBWORDPOS,pRecordID,wordOffset) = $bit(wordId)
classmethod GetLanguageCode(pLanguageId As %String) as %String
classmethod GetLanguageId(pLanguageCode As %String, pCreate As %Boolean = 0) as %Integer
classmethod PrepareTransformations(pLanguageId As %Integer, ByRef pIndexParams)
INPUT: %wordI(" "_wordValue) = wordId OUTPUT: %wordD(wordInt) = wordValue %wordI(" "_wordValue) = wordInt %wordT(transfoID, stringInt, wordInt) = ""
FeedbackOpens in a new tab