Adds a record for entity resolution.
Inserts or updates a record in the entity repository.
Optionalflags: bigintAdds a record for entity resolution.
Optionalflags: bigintDeletes a record from the entity repository.
Optionalflags: bigintReevaluates a specific record against current resolution rules.
Optionalflags: bigintReevaluates all records for a specific entity.
Optionalflags: bigintReevaluates all records for a specific entity.
Optionalflags: bigintGets record information by data source and record ID.
Optionalflags: bigintGets a preview of how a record would be processed without persisting it.
Optionalflags: bigintGets entity information by entity ID.
Optionalflags: bigintGets entity information by record key (data source + record ID).
Optionalflags: bigintGets entity information by record key (data source + record ID).
Optionalflags: bigintSearches for entities by attributes.
OptionalsearchProfile: stringOptionalflags: bigintSearches for entities by attributes.
OptionalsearchProfile: stringOptionalflags: bigintconst attrs = JSON.stringify({ NAME_FULL: "Robert Smith", DATE_OF_BIRTH: "1985-02-15" });
const result = engine.searchByAttributes(attrs, undefined, SzFlags.SEARCH_BY_ATTRIBUTES_DEFAULT_FLAGS);
const entities = JSON.parse(result).RESOLVED_ENTITIES;
console.log(`Found ${entities.length} matching entities`);
Analyzes why a search result was returned for an entity.
OptionalsearchProfile: stringOptionalflags: bigintAnalyzes why two entities are related.
Optionalflags: bigintAnalyzes why two entities are related.
Optionalflags: bigintAnalyzes why two records resolved together.
Optionalflags: bigintAnalyzes why two records resolved together.
Optionalflags: bigintAnalyzes why a record belongs to its current entity.
Optionalflags: bigintAnalyzes how an entity was constructed step by step.
Optionalflags: bigintCreates a virtual entity from record keys without persisting.
Optionalflags: bigintFinds interesting entities related to a given entity by entity ID.
Optionalflags: bigintFinds interesting entities related to a given entity by record key.
Optionalflags: bigintFinds a relationship path between two entities.
OptionalavoidEntityIds: number[]OptionalrequiredDataSources: string[]Optionalflags: bigintFinds a relationship path between two entities.
OptionalavoidEntityIds: number[]OptionalrequiredDataSources: string[]Optionalflags: bigintFinds a network of related entities starting from seed entity IDs.
Optionalflags: bigintFinds a network of related entities starting from seed entity IDs.
Optionalflags: bigintGets the next pending redo record from the queue.
Processes a redo record for deferred resolution.
Optionalflags: bigintProcesses a redo record for deferred resolution.
Optionalflags: bigintStarts a JSON entity export. Returns an export handle.
Optionalflags: bigintStarts a JSON entity export. Returns an SzExportIterator.
Optionalflags: bigintconst iter = engine.exportJsonEntityReport(SzFlags.EXPORT_DEFAULT_FLAGS);
for (const chunk of iter) {
const lines = chunk.split("\n").filter(Boolean);
for (const line of lines) {
const entity = JSON.parse(line);
console.log("Entity:", entity.RESOLVED_ENTITY.ENTITY_ID);
}
}
Starts a CSV entity export. Returns an export handle.
Optionalflags: bigintStarts a CSV entity export. Returns an SzExportIterator.
Optionalflags: bigintFetches the next batch of export data. Returns empty string when complete.
Closes an export operation and releases resources.
Primes the engine for optimal performance by loading internal caches.