ArcGIS Pro 3.0.1: How to update the attribute indexes (rebuild indexes) for the file geodatabase?
I couldn’t figure out if there is a way to update the attribute indexes (rebuild indexes) for the file geodatabase
probably not a great process to use in modelbuilder since....
Names of the datasets that will have their indexes rebuilt. Only datasets that are owned by the connected user are displayed.
Rebuild Indexes (Data Management)—ArcGIS Pro | Documentation
I’m referring here to file geodatabase not an enterprise. How the indexing is updated?
Your inclusion in the model was confusing me.
You have to use Add Index and remove index if needed
Attribute indexes in the geodatabase—ArcGIS Pro | Documentation
If the “remove index” tool is added to the model then the model fails to be generic, as in this case, it requires to have the index added to the file geodatabase so that the “remove index” can work inside the model!
In other words, what I wanted here is to be able to add an index by the model (to a file geodatabase that doesn’t already have) and then to be able to “update” the index regularly
Then you need a conditional branching
If Data Exists (ModelBuilder)—ArcGIS Pro | Documentation
if the index exists or if it doesn't.
"index" can be checked by the above branching help topic