%iFind.Filer.Basic
hidden class %iFind.Filer.Basic
Internal class implementing filing code. Do not access directly.Method Inventory
- Delete()
- FileIndex()
- FileIndexFromDM()
- FileLanguage()
- FileWords()
- GetLanguageCode()
- GetLanguageId()
- PrepareTransformations()
Methods
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)
INPUT:
%ifsLang(languageID) = ""
OUTPUT:
@pIndexLocation@($$$IFGLOBALLANGUAGE,languageID,recOffset) = $bit(recordId)
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 PrepareTransformations(pLanguageId As %Integer, ByRef pIndexParams)
INPUT:
%wordI(" "_wordValue) = wordId
OUTPUT:
%wordD(wordInt) = wordValue
%wordI(" "_wordValue) = wordInt
%wordT(transfoID, stringInt, wordInt) = ""