Open mglukhovsky opened 10 years ago
As a minor improvement until we fully get there, I think we should add a remark to the filter
API docs that it performs a full linear scan of the input sequence and doesn't make use of indexes. We should then suggest using get_all
as an alternative where possible.
A lot of people coming from an SQL or MongoDB background expect indexes to be used automatically, which is not the case for ReQL.
We already have similar notes the API docs for inner_join
and outer_join
.
@kevincox said this in the original issue (rethinkdb/rethinkdb#620):
This was met with complete agreement by everyone involved.