<commit_before>#!/bin/bash

wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.5.tar.gz
tar -xzf elasticsearch-0.18.5.tar.gz
elasticsearch-0.18.5/bin/plugin install mapper-attachments

export JAVA_OPTS="-server"<commit_msg>Disable auto discovery of ElasticSearch<commit_after>#!/bin/bash

wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.5.tar.gz
tar -xzf elasticsearch-0.18.5.tar.gz
sed -i '' 's/# index.number_of_shards: 1/index.number_of_shards: 1/' elasticsearch-0.18.5/config/elasticsearch.yml
sed -i '' 's/# index.number_of_replicas: 0/index.number_of_replicas: 0/' elasticsearch-0.18.5/config/elasticsearch.yml
sed -i '' 's/# discovery.zen.ping.multicast.enabled: false/discovery.zen.ping.multicast.enabled: false/' elasticsearch-0.18.5/config/elasticsearch.yml
elasticsearch-0.18.5/bin/plugin install mapper-attachments

export JAVA_OPTS="-server"
{'fraction_non_alphanumeric': 0.14721919302071973, 'fraction_numerical': 0.04362050163576881, 'mean_word_length': 5.1610738255033555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '900913', 'n_tokens_mistral': 346, 'n_tokens_neox': 331, 'n_words': 46}