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
SAHANA GHOSHSAHANA GHOSH 

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.

https://help.salesforce.com/s/articleView?id=000325247&type=1 (https://help.salesforce.com/s/articleView?id=000325247&type=1)

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

Thanks,