class Riddle::Configuration::Indexer

Public Class Methods

settings() click to toggle source
# File lib/riddle/configuration/indexer.rb, line 4
def self.settings
  [ 
    :mem_limit, :max_iops, :max_iosize, :max_xmlpipe2_field,
    :write_buffer, :max_file_field_buffer
  ]
end

Public Instance Methods

render() click to toggle source
# File lib/riddle/configuration/indexer.rb, line 13
def render
  raise ConfigurationError unless valid?
  
  (
    ["indexer", "{"] +
    settings_body +
    ["}", ""]
  ).join("\n")
end