Sha256: f97d6d149302e8b9d13b60f01b0ec49f37f644fd412b6e9fbd41f47fa979f88f
Contents?: true
Size: 925 Bytes
Versions: 16
Compression:
Stored size: 925 Bytes
Contents
module Groonga class ScanInfo module Flags ACCESSOR = 0x01 PUSH = 0x02 POP = 0x04 PRE_CONST = 0x08 end def apply(data) self.op = data.op self.logical_op = data.logical_op self.end = data.end self.query = data.query self.flags = data.flags if data.max_interval self.max_interval = data.max_interval end if data.similarity_threshold self.similarity_threshold = data.similarity_threshold end data.args.each do |arg| push_arg(arg) end data.search_indexes.each do |search_index| put_index(search_index.index_column, search_index.section_id, search_index.weight, search_index.scorer, search_index.scorer_args_expr, search_index.scorer_args_expr_offset || 0) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems