google / zoekt

Fast trigram based code search
1.7k stars 113 forks source link

support multiple index volumes #95

Open hanwen opened 5 years ago

hanwen commented 5 years ago

SSD disks come in fixed sizes (at least on GCP).

Currently there is one -index_dir flag, this caps corpus size at SSD-sz/4.

We want to create a mechanism by which you can use multiple SSD drives to store shards. Perhaps RAID works, but it's extra work to setup.