SearchResultsCache table/entity reference

Cache search results internally

Messages

The following table lists the messages for the SearchResultsCache table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Create
Event: True
POST /searchresultscaches
See Create
Create records
CreateMultiple
Event: True
CreateMultiple CreateMultipleRequest
Delete
Event: True
DELETE /searchresultscaches(searchresultscacheid)
See Delete
Delete records
DeleteMultiple
Event: True
DeleteMultiple Learn to use messages with the SDK for .NET
Retrieve
Event: True
GET /searchresultscaches(searchresultscacheid)
See Retrieve
Retrieve records
RetrieveEntityChanges
Event: True
RetrieveEntityChangesRequest
RetrieveMultiple
Event: True
GET /searchresultscaches
See Query data
Query data
Update
Event: True
PATCH /searchresultscaches(searchresultscacheid)
See Update
Update records
UpdateMultiple
Event: True
UpdateMultiple UpdateMultipleRequest
Upsert
Event: True
PATCH /searchresultscaches(searchresultscacheid)
See Upsert a table row
UpsertRequest
UpsertMultiple
Event: True
UpsertMultiple UpsertMultipleRequest

Events

The following table lists the events for the SearchResultsCache table. Events are messages that exist so that you can subscribe to them. Unless you added the event, you shouldn't invoke the message, only subscribe to it.

Name Web API Operation SDK for .NET
BulkRetain BulkRetain Learn to use messages with the SDK for .NET
PurgeRetainedContent PurgeRetainedContent Learn to use messages with the SDK for .NET
Retain Retain Learn to use messages with the SDK for .NET
RollbackRetain RollbackRetain Learn to use messages with the SDK for .NET
ValidateRetentionConfig ValidateRetentionConfig Learn to use messages with the SDK for .NET

Properties

The following table lists selected properties for the SearchResultsCache table.

Property Value
DisplayName SearchResultsCache
DisplayCollectionName SearchResultsCaches
SchemaName SearchResultsCache
CollectionSchemaName SearchResultsCaches
EntitySetName searchresultscaches
LogicalName searchresultscache
LogicalCollectionName searchresultscaches
PrimaryIdAttribute searchresultscacheid
PrimaryNameAttribute searchrequesthash
TableType Elastic
OwnershipType OrganizationOwned

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

ImportSequenceNumber

Property Value
Description Sequence number of the import that created this record.
DisplayName Import Sequence Number
IsValidForForm False
IsValidForRead True
LogicalName importsequencenumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

OverriddenCreatedOn

Property Value
Description Date and time that the record was migrated.
DisplayName Record Created On
IsValidForForm False
IsValidForRead True
LogicalName overriddencreatedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

PartitionId

Property Value
Description Logical partition id. A logical partition consists of a set of records with same partition id.
DisplayName Partition Id
IsValidForForm True
IsValidForRead True
LogicalName partitionid
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

SearchRequestHash

Property Value
Description Hash that identifies search results caches
DisplayName SearchRequestHash
IsValidForForm True
IsValidForRead True
LogicalName searchrequesthash
RequiredLevel ApplicationRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 2000

SearchResultsCacheId

Property Value
Description Unique identifier for entity instances
DisplayName SearchResultsCacheId
IsValidForForm False
IsValidForRead True
LogicalName searchresultscacheid
RequiredLevel SystemRequired
Type Uniqueidentifier

SearchResultsCacheItem

Property Value
Description
DisplayName SearchResultsCacheItem
IsValidForForm True
IsValidForRead True
LogicalName searchresultscacheitem
RequiredLevel ApplicationRequired
Type Memo
Format Text
FormatName Json
ImeMode Auto
IsLocalizable False
MaxLength 80000

TTLInSeconds

Property Value
Description Time to live in seconds.
DisplayName Time to live
IsValidForForm True
IsValidForRead True
LogicalName ttlinseconds
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue 1

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

CreatedBy

Property Value
Description Unique identifier of the user who created the record.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel None
Type Lookup
Targets systemuser

CreatedOn

Property Value
Description Date and time when the record was created.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who created the record.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedBy

Property Value
Description Unique identifier of the user who modified the record.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedOn

Property Value
Description Date and time when the record was modified.
DisplayName Modified On
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

ModifiedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who modified the record.
DisplayName Modified By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

VersionNumber

Property Value
Description Version Number
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

lk_searchresultscache_createdby

One-To-Many Relationship: systemuser lk_searchresultscache_createdby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdby
ReferencingEntityNavigationPropertyName createdby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_searchresultscache_createdonbehalfby

One-To-Many Relationship: systemuser lk_searchresultscache_createdonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdonbehalfby
ReferencingEntityNavigationPropertyName createdonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_searchresultscache_modifiedby

One-To-Many Relationship: systemuser lk_searchresultscache_modifiedby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedby
ReferencingEntityNavigationPropertyName modifiedby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_searchresultscache_modifiedonbehalfby

One-To-Many Relationship: systemuser lk_searchresultscache_modifiedonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedonbehalfby
ReferencingEntityNavigationPropertyName modifiedonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

See also

Dataverse table/entity reference
Dataverse Web API Reference
searchresultscache