From f34e4866179c073ee39dad7ebcb6adf82a4d9ed4 Mon Sep 17 00:00:00 2001 From: Michael Dockter Date: Thu, 13 Jun 2024 17:09:36 -0400 Subject: [PATCH] 167 dockter 1 (#169) * #167 Update to template * #167 Modified parameter names * #167 Prepare for versioned release --- CHANGELOG.md | 6 ++++++ senzing/flags.go | 2 +- senzing/main.go | 4 ++-- senzing/senzing_test.go | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0427cb..531415b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - +## [0.13.4] - 2024-06-13 + +### Changed in 0.13.4 + +- Updated to changed in native Senzing C API + ## [0.13.3] - 2024-06-11 ### Changed in 0.13.3 diff --git a/senzing/flags.go b/senzing/flags.go index 1ef02f2..4da0fa9 100644 --- a/senzing/flags.go +++ b/senzing/flags.go @@ -52,7 +52,7 @@ const ( /* flags for finding entity path data */ - SzFindPathPreferExclude // 25 excluded entities are still allowed, but not preferred + SzFindPathStrictAvoid // 25 excluded entities are still allowed, but not preferred /* flags for including search result feature scores */ diff --git a/senzing/main.go b/senzing/main.go index d9bc9e8..3e66b33 100644 --- a/senzing/main.go +++ b/senzing/main.go @@ -76,8 +76,8 @@ type SzEngine interface { FindInterestingEntitiesByRecordID(ctx context.Context, dataSourceCode string, recordID string, flags int64) (string, error) FindNetworkByEntityID(ctx context.Context, entityIDs string, maxDegrees int64, buildOutDegree int64, buildOutMaxEntities int64, flags int64) (string, error) FindNetworkByRecordID(ctx context.Context, recordKeys string, maxDegrees int64, buildOutDegree int64, buildOutMaxEntities int64, flags int64) (string, error) - FindPathByEntityID(ctx context.Context, startEntityID int64, endEntityID int64, maxDegrees int64, exclusions string, requiredDataSources string, flags int64) (string, error) - FindPathByRecordID(ctx context.Context, startDataSourceCode string, startRecordID string, endDataSourceCode string, endRecordID string, maxDegrees int64, exclusions string, requiredDataSources string, flags int64) (string, error) + FindPathByEntityID(ctx context.Context, startEntityID int64, endEntityID int64, maxDegrees int64, avoidEntityIDs string, requiredDataSources string, flags int64) (string, error) + FindPathByRecordID(ctx context.Context, startDataSourceCode string, startRecordID string, endDataSourceCode string, endRecordID string, maxDegrees int64, avoidRecordKeys string, requiredDataSources string, flags int64) (string, error) GetActiveConfigID(ctx context.Context) (int64, error) GetEntityByEntityID(ctx context.Context, entityID int64, flags int64) (string, error) GetEntityByRecordID(ctx context.Context, dataSourceCode string, recordID string, flags int64) (string, error) diff --git a/senzing/senzing_test.go b/senzing/senzing_test.go index 4854317..f1eac9d 100644 --- a/senzing/senzing_test.go +++ b/senzing/senzing_test.go @@ -158,7 +158,7 @@ var testCases = []struct { }, { // 26 name: "SZ_FIND_PATH_PREFER_EXCLUDE", - actual: SzFindPathPreferExclude, + actual: SzFindPathStrictAvoid, expected: 0x0000000002000000, }, { // 27