If I've already created a table and batch ingested...
# general
a
If I've already created a table and batch ingested data, can I add a star-tree index after the fact or do I need to start from scratch?
k
You can add Star tree index later.. all indexes can be added dynamically
a
Thanks -- do I do that by updating the table config?
k
right
update table config and invoke reloadsegments api
j
Remember to set
enableDynamicStarTreeCreation
if you want to add a star-tree on the fly
a
Thanks!
In this case what does it mean to compute the star-tree on the fly?
Do I need to set
enableDynamicStarTreeCreation
in order to be able to update the table config and reload segments like Kishore said, or is this something different?
j
Yes, you need to set
enableDynamicStarTreeCreation
then server will generate the star-tree index configured in the table config
a
Thanks!
It looks like the reloadsegments API finished instantly -- should I expect it to take a while to reindex?
k
Yes.. there is a status api you can invoke to check the status
a
The table state API?
I see
Copy code
{
  "state": "enabled"
}
Ok I think I got this working. At first I used the "reload" API which didn't seem to do anything. Then I tried the "reset" API and it did