Generate sqlite file on demand
Summary:
During debugging, the sqlite symbol index is hard to test unless you can reliably get a symbol index for your repository.
I had previously been testing it by using separate commands, first using hh_global_index_builder to generate a file, then running hh_server and pointing it to the file to use for testing.
By enabling the program to build a sqlite symbol index on demand, it's much easier to test. This also has the positive side effect that anyone outside of facebook (e.g. Fred Emmott and his contacts externally) would be able to use the new nifty autocomplete.
This will also enable users within facebook to continue to use autocomplete even if manifold crashes or if saved-states are broken for some reason.
Reviewed By: 2BitSalute
Differential Revision:
D15251808
fbshipit-source-id:
1141dab625a043be4361980dc9254fb9a841a31c