Lines Matching refs:midx
86 IW_INLINE int _jbi_idx_expr_op_weight(struct _JBMIDX *midx) { in _jbi_idx_expr_op_weight() argument
87 jqp_op_t op = midx->expr1->op->value; in _jbi_idx_expr_op_weight()
97 if (midx->orderby_support) { in _jbi_idx_expr_op_weight()
403 memset(&ctx->midx, 0, sizeof(ctx->midx)); in _jbi_select_index_for_orderby()
408 ctx->midx.idx = idx; in _jbi_select_index_for_orderby()
409 ctx->midx.orderby_support = true; in _jbi_select_index_for_orderby()
410 ctx->midx.cursor_init = ctx->cursor_init; in _jbi_select_index_for_orderby()
411 ctx->midx.cursor_step = ctx->cursor_step; in _jbi_select_index_for_orderby()
441 memcpy(&ctx->midx, &fctx[0], sizeof(ctx->midx)); in jbi_selection()
442 struct _JBMIDX *midx = &ctx->midx; in jbi_selection() local
443 jqp_op_t op = midx->expr1->op->value; in jbi_selection()
445 midx->expr1->prematched = true; in jbi_selection()
449 _jbi_log_index_rules(ctx->ux->log, &ctx->midx); in jbi_selection()
451 if (midx->orderby_support && (aux->orderby_num == 1)) { in jbi_selection()
460 _jbi_log_index_rules(ctx->ux->log, &ctx->midx); in jbi_selection()