Want to search for the title from the board with live_flag true.
class Board < ActiveRecord::Base
has_many :deals
include Tire::Model::Search
tire.mapping do
indexes :title, typ
我想做嵌套过滤。但返回错误。是否有另一种过滤方法?使用这个真实的? 错误输出: /型号/系列/ filter_season方法: def self.filter_season
s = Tire.search('myindex', type: 'series') do
query do
filtered do
query do
all