fixed feature caching and result indexing