Class: Riddle::Configuration::Indexer
- Defined in:
- lib/riddle/configuration/indexer.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Section
Class Method Details
.settings ⇒ Object
4 5 6 7 8 9 |
# 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, :lemmatizer_base, :lemmatizer_cache ] end |
Instance Method Details
#render ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/riddle/configuration/indexer.rb', line 13 def render raise ConfigurationError unless valid? ( ["indexer", "{"] + settings_body + ["}", ""] ).join("\n") end |