API
Cached indexes (index, partition, tags) should be used by default.
Uncached indexes should be an option, through a new function add_uncached_index
or something.
Performance
Search with some kind of "pagination" system: ask entries with a limit on the number of elements and an offset.