Hacker News new | ask | show | jobs
by barrkel 1730 days ago
You use the index to identify a subset of records and scan those for unindexed criteria.

It's ok to fail if the indexed criteria are not selective enough. In fact it's usually preferable to a long timeout.