add configuration option USE_INDEXED_HASH_STORE for fast hash_table lookups and change hash_table to use source_id instead of text