Hello,
Does anyone have an efficient indexing algorithm or care to point me in the
right direction.  I am looking to index several terabytes of data across
mutiple files.  The file format does not matter so much as the ability to
keep a low memory footprint based on the size of the index and for any given
query the index must be efficiently sorted.

I have looked at dbm and dbm seems to keep a stack of keys which as we know
can be a bit of an inconvenience when it comes to searching.  Hopefully I am
wrong here.  Any thoughts or comments would be appreciated.

-joe graham