class XapianDb::DocumentBlueprint::IndexOptions
Options for an indexed method
Attributes
block[R]
no_split[R]
prefixed[R]
weight[R]
Public Class Methods
new(options = {})
click to toggle source
Constructor @param [Hash] options @option options [Integer] :weight (1) The weight for the indexed value
# File lib/xapian_db/document_blueprint.rb 448 def initialize(options = {}) 449 @weight = options[:weight] || 1 450 @prefixed = options[:prefixed].nil? ? true : options[:prefixed] 451 @no_split = options[:no_split] 452 @block = options[:block] 453 end