%iFind.Entity
Class %iFind.Entity Extends %Persistent [ Deprecated, Final, StorageStrategy = iFind, System = 4 ]
The InterSystems IRIS NLP iKnow technology on which this output type is based is now deprecated. Please see the product documentation for more detail. The %iKnow.Index.Basic and %iKnow.Index.Minimal index types, which only generate word-level content, remain fully supported.
This table contains all entities identified by iFind Semantic or Analytic indices in this namespace using namespace-wide shared storage (cf the IFINDSHAREDSTORAGELOCATION parameter in %iFind.Index.Basic).
Parameters
READONLY
Parameter READONLY = 1;
Properties
Value
Property Value As %String(COLLATION = "EXACT", MAXLEN = "");
String value for this entity
EntityId
Property EntityId As %Integer;
StrippedEntityId
Property StrippedEntityId As %iFind.Entity [ Calculated, SqlComputeCode = { set {StrippedEntityId}=##class(%iFind.Entity).GetStrippedEntityId({Value},{ID})}, SqlComputed ];
Calculated property returning the entity ID of the entity corresponding to this row, with all words stripped of leading and trailing punctuation. If no such entity exists, this record's entity ID is returned.
Methods
GetStrippedEntityId
ClassMethod GetStrippedEntityId(pEntity As %String, pOriginalId As %Integer = "", pKeepChars As %String = {$$$STRIPKEEP}) As %Integer [ SqlName = GetStrippedEntityId, SqlProc ]
Returns the Entity ID corresponding to the supplied string, after stripping off punctuation. If no such entity exists, pOriginalId is returned.
GetEntityId
ClassMethod GetEntityId(pValue As %String) As %Integer [ SqlName = GetEntityId, SqlProc ]
Returns the Entity ID corresponding to the supplied string
GetWordKey
ClassMethod GetWordKey(pValue As %String) As %String [ Internal ]
Returns the internal key of the supplied entity value, which is calculated by concatenating the word IDs of all words in the entity value.