qq - for offline segment generation: In SegmentGeneratorConfig should either autoGeneratedInvertedIndex or createInvertedIndexDuringSegmentGeneration be set to true for inverted indexes to get generated?
n
Neha Pawar
08/17/2020, 9:59 PM
you dont need to set either of those. you just need inv index list set in the table config.
by default the indexes are generated on the server
👍 1
after the segment gets pushed and downloaded by server
e
Elon
08/17/2020, 10:00 PM
Thanks! Just wanted to make sure - since the SegmentGeneratorConfig doesn't set the inverted index columns if those aren't set. But we do have them in the TableConfig.
So I guess the server uses the IndexConfig from the TableConfig then?
n
Neha Pawar
08/17/2020, 10:04 PM
some metadata is set in the segment metadata during segment creation (hasInvertedIndex = true) which tells server to create index. this is set based on table config.