Closed ajselvig closed 8 years ago
Yeah, I'm not sure what RQL I should generate to use the index. Any suggestions?
I believe it's something like:
r.table("models").between( r.minval, r.maxval, {"left_bound" => "open", "index" => "foo"})
(this is 50x faster than the corresponding filter statement for my particular dataset)
Works perfect, thanks!
I can't figure out how to use a field's index to query records that have that field defined:
Seems like this should use the index, but the query uses a regular filter statement and I get the perf warning:
Doesn't it seem like this query should be able to be done with getAll on the index?