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

Can checkbox fields be indexed?

Will create a checkbox/text field, that will be populated using trigger, however will be based on some non-deterministic field checks. Can i index that field then ?
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Sahana,

Yes we can create custom indexing for checkbox fields. But please read the below knowledge article before you decide on indexing the field. (

If this solution helps, Please mark it as best aswer.