# File lib/thinking_sphinx/core/index.rb, line 12 def initialize(reference, options = {}) @reference = reference.to_sym @docinfo = :extern unless config.settings["skip_docinfo"] @options = options @offset = config.next_offset(options[:offset_as] || reference) @type = 'plain' super "#{options[:name] || reference.to_s.gsub('/', '_')}_#{name_suffix}" end