Not sure what you mean with this .index directory. A lookup would be in lookups/something.csv, I don't see on what this csv_[0-9]+.index/ regex shall match.
From my point of view, in the bundled app there should be: a.) the CSV put in the right place, b.) have all stanzas in default transforms.conf that are needed for the lookup, c.) have the optional field in the data model and d.) set the lookup stanzas to disabled = 1 in default. Enabling the lookup should need as less work as possible. The user should only need to add a disabled = 0 in the local transforms to have everything up and running.
Reason: The higher the amount of manual work, the higher the amount of time needed for a proper upgrade, as every manual change needs to be verified by the user if it still works with the new version. Imagine a user needs to manually copy over csv files or has to decide which one of the two possible data model json files (with and without the optional field) shall be used. If the user isn't careful enough, maybe his setup breaks during an upgrade.
... View more