<commit_before>if Chef::Config[:solo]
    node.expand!('disk')
else
    node.expand!('server')
end

default["solr"]["version"] = "5.3.0"
default["solr"]["link"] = "http://archive.apache.org/dist/lucene/solr/#{node['solr']['version']}/solr-#{node['solr']['version']}.tgz"
default["solr"]["checksum"] = "26aec63d81239a65f182f17bbf009b1070f7db0bb83657ac2a67a08b57227f7c" #sha256
default["solr"]["download"] = "#{Chef::Config[:file_cache_path]}"

default["solr"]["install_java"] = true
default["solr"]["jdk_version"] = 7

default["solr"]["install"] = "/opt"
default["solr"]["directory"] = "/var/solr"
default["solr"]["port"] = "8983"
default["solr"]["service"] = "solr"
default["solr"]["user"] = "solr"

default["solr"]["pidfile_path"] = nil
default["solr"]["log_path"] = nil
default["solr"]["home_path"] = nil<commit_msg>ref(attributes) - Allows for configurable host, useful for mirrors<commit_after>if Chef::Config[:solo]
    node.expand!('disk')
else
    node.expand!('server')
end

default["solr"]["version"] = "5.3.0"
default["solr"]["host"] = "archive.apache.org"
default["solr"]["link"] = "http://#{node['solr']['host']}/dist/lucene/solr/#{node['solr']['version']}/solr-#{node['solr']['version']}.tgz"
default["solr"]["checksum"] = "26aec63d81239a65f182f17bbf009b1070f7db0bb83657ac2a67a08b57227f7c" #sha256
default["solr"]["download"] = "#{Chef::Config[:file_cache_path]}"

default["solr"]["install_java"] = true
default["solr"]["jdk_version"] = 7

default["solr"]["install"] = "/opt"
default["solr"]["directory"] = "/var/solr"
default["solr"]["port"] = "8983"
default["solr"]["service"] = "solr"
default["solr"]["user"] = "solr"

default["solr"]["pidfile_path"] = nil
default["solr"]["log_path"] = nil
default["solr"]["home_path"] = nil
{'fraction_non_alphanumeric': 0.2584721424468696, 'fraction_numerical': 0.05973578403216542, 'mean_word_length': 9.307692307692308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '75408', 'n_tokens_mistral': 715, 'n_tokens_neox': 718, 'n_words': 78}