# File lib/mirimiri/query.rb, line 62 def initialize(id,query,params) @params = params # Here we set the default retrieval model as Language Modeling # with a Dirichlet smoothing at 2500. # TODO: maybe a Rule class... @params.rule = 'method:dirichlet,mu:2500' if @params.rule.nil? @id = id @query = query end