function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raymond van AkkerenRaymond van Akkeren 

are all fields of type Phone automatically indexed?

I just reviewed a query on Account that to my suprise is very selective (Cardinality=1,Leading Operation Type=Other, cost=0.000000, sObject Cardinality=8,700,000). 

SELECT Id, Account.BPID__C, Account.Name  FROM Account  WHERE phone = '999' OR PhoneStandard__c = '999' OR MobilePhone__c = '999' OR PhoneVisit__c = '999'

When I verify the fields, it seems that only Phone has been indexed. Does anybody understand how this is possible? I can't find any documentation on whether fields of type Phone are always indexed.