mattgodbolt / zindex

Create an index on a compressed text file
BSD 2-Clause "Simplified" License
620 stars 37 forks source link

Configurable index filename #7

Open mattgodbolt opened 9 years ago

mattgodbolt commented 9 years ago

Currently the index for foo.gz is always foo.gz.zindex. Should be configurable, so it can live elsewhere. Maybe also the query should be able to cope with being passed the zindex file instead? Then, how to find the uncompressed data? Maybe store the path in the zindex?

mattgodbolt commented 8 years ago

Rephrasing this (As we now support configurable zindex file): use the full path stored in the zindex file to open the original file, and support zq-ing on the index file directly