1. Work with search

Supported types for xConnect search

Version:

This section describes types that are supported xConnect search. Note that most property types that are used in the xConnect model can be used in search.

Important

If a property is decorated with the [PIISensitive] attribute, it will not be indexed unless you enable indexing of PII data. Properties decorated with the [DoNotIndex] attribute are never indexed.

Supported types

The following types are supported, meaning they can be added to xConnect model and you can use them in a contact or interaction search query:

  • Boolean
  • Byte
  • DateTime
  • DateTimeOffset
  • Decimal
  • Double
  • Guid
  • Int16
  • Int32
  • Int64
  • SByte
  • Single
  • String
  • List<T>
  • Collection<T>
  • Dictionary<K,T> *
  • Timespan

* Dictionaries can only use primitive types for keys

Timespan has some restrictions - see Supported methods and operators for xConnect search.

Unsupported types

The following types are not supported, meaning you cannot use them in a contact or interaction search query:

  • Binary
If you have suggestions for improving this article, let us know!