You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time based indices are typically on a per model basis. If we detect a query that uses key specified in use_time_based_indices then we should automatically add the indexes to search_options.
.without_time_based_indices! should turn off this behavior on a per query basis.
Add use_time_based_indices class method
Allow the index pattern to be specified and set index_name
using: a Proc or method to determine the required indices
context: specify context to trigger time_based_indices
default: default index name (can be most recent index or index_name*, etc)
QueryBuilder should detect queries that require time-based indices and populate search_options
Time based indices are typically on a per model basis. If we detect a query that uses key specified in
use_time_based_indices
then we should automatically add the indexes tosearch_options
..without_time_based_indices!
should turn off this behavior on a per query basis.use_time_based_indices
class methodpattern
to be specified and setindex_name
using:
a Proc or method to determine the required indicescontext:
specify context to trigger time_based_indicesdefault:
default index name (can be most recent index or index_name*, etc)search_options
The text was updated successfully, but these errors were encountered: