search_by_attributes Flags

search_by_attributes

These are the control flags applicable to:

  • Python: search_by_attributes
  • Java: searchByAttributes
  • sz_command: searchByAttributes
  • C/C++: Sz_searchByAttributes

search_by_attributes uses all of the flags available to <code>get_entity*</code>, plus SZ_SEARCH_INCLUDE_FEATURE_SCORES, SZ_SEARCH_INCLUDE_MATCH_KEY_DETAIL, and SZ_SEARCH_INCLUDE_STATS.

The default composite flag is SZ_SEARCH_BY_ATTRIBUTES_ALL.

The recommended composite flags are SZ_SEARCH_BY_ATTRIBUTES_ALL, SZ_SEARCH_BY_ATTRIBUTES_STRONG, SZ_SEARCH_BY_ATTRIBUTES_MINIMAL_ALL, and SZ_SEARCH_BY_ATTRIBUTES_MINIMAL_STRONG.

The parameter values (from our truthset) used to generate the response messages are:

  • data_as_json: {"NAME_FULL":"BOB SMITH", "EMAIL_ADDRESS": "bsmith@work.com"}

SZ_SEARCH_BY_ATTRIBUTES_ALL

SZ_SEARCH_BY_ATTRIBUTES_ALL returns all matching entities (resolved, possibly same, possibly related, and name-only matches). SZ_SEARCH_BY_ATTRIBUTES_ALL is a composite flag of: SZ_SEARCH_INCLUDE_ALL_ENTITIES, SZ_ENTITY_INCLUDE_REPRESENTATIVE_FEATURES, SZ_ENTITY_INCLUDE_ENTITY_NAME, SZ_ENTITY_INCLUDE_RECORD_SUMMARY, and SZ_SEARCH_INCLUDE_FEATURE_SCORES.

Click to expand response JSON

SZ_SEARCH_BY_ATTRIBUTES_STRONG

SZ_SEARCH_BY_ATTRIBUTES_STRONG returns resolved and possibly-same matches. SZ_SEARCH_BY_ATTRIBUTES_STRONG is a composite flag of: SZ_SEARCH_INCLUDE_RESOLVED, SZ_SEARCH_INCLUDE_POSSIBLY_SAME, SZ_ENTITY_INCLUDE_REPRESENTATIVE_FEATURES, SZ_ENTITY_INCLUDE_ENTITY_NAME, SZ_ENTITY_INCLUDE_RECORD_SUMMARY, and SZ_SEARCH_INCLUDE_FEATURE_SCORES.

Click to expand response JSON

SZ_SEARCH_BY_ATTRIBUTES_MINIMAL_ALL

SZ_SEARCH_BY_ATTRIBUTES_MINIMAL_ALL returns all matching entities (resolved, possibly same, possibly related, and name-only matches) with minimal data. SZ_SEARCH_BY_ATTRIBUTES_MINIMAL_ALL is a composite flag of: SZ_SEARCH_INCLUDE_ALL_ENTITIES.

Click to expand response JSON

SZ_SEARCH_BY_ATTRIBUTES_MINIMAL_STRONG

SZ_SEARCH_BY_ATTRIBUTES_MINIMAL_STRONG returns resolved and possibly-same matches with minimal data SZ_SEARCH_BY_ATTRIBUTES_MINIMAL_STRONG is a composite flag of: SZ_SEARCH_INCLUDE_RESOLVED, SZ_SEARCH_INCLUDE_POSSIBLY_SAME.

Click to expand response JSON

SZ_SEARCH_INCLUDE_FEATURE_SCORES

Click to expand response JSON

SZ_SEARCH_INCLUDE_STATS

Click to expand response JSON

SZ_INCLUDE_MATCH_KEY_DETAILS

Click to expand response JSON