12

While doing prodsync today I stumbled upon a folder named as customIndex. Funnily enough it had all custom indexes that we had asked SF to create for us. Once downloaded, I tried to save this in my Sandbox and it really created a custom index on DateTime column.

I was always assuming that we cant create custom indexes and need to reach out to SF support for this.

Salesforce supports custom indexes to speed up queries, and you can create custom indexes by contacting Salesforce Customer Support.

https://developer.salesforce.com/docs/atlas.en-us.salesforce_large_data_volumes_bp.meta/salesforce_large_data_volumes_bp/ldv_deployments_infrastructure_indexes.htm enter image description here

enter image description here

Is this some new feature or undocumented behavior leak?

7
  • 1
    Can you share the path where you found custom index folder? Commented Aug 20, 2022 at 11:12
  • 1
    I noticed that customIndex is listed in Metadata Coverage report . I'll check with the concerned team and get back with more inputs. Thank you Commented Aug 20, 2022 at 11:47
  • Hello @Pranay - Have you got any confirmation or anything? Commented Nov 8, 2022 at 9:45
  • 1
    @JefersonChaves no have not received any conf from SF.. Commented Nov 8, 2022 at 9:50
  • 1
    @Swetha use Org Browser and pulll it from over there.. You need to have custom index in your orgs. I have updated location of it in org browser. Commented Nov 12, 2022 at 12:52

1 Answer 1

4

The development to support of custom index in packages, led to custom index being exposed as a metadata. The Salesforce team has filed a documentation bug numbered #W-11868878 (ETA- Spring'23 Safe Harbor) to add that

Custom Index metadata was made available to support custom index in packaging. Customers are advised not to create custom indexes on their own, without having a full understanding of all the performance implications. Customers can create custom indexes by contacting Salesforce Customer Support as detailed in doc.

Also, see the related Custom Index doc that went live recently(Oct'22).

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .