<commit_before>#!/bin/bash

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

echo "Waiting until elasticsearch is ready on port 9200"
while [[ -z `curl -s 'http://localhost:9200' ` ]]
do 
	echo -n "."
	sleep 2s<commit_msg>Run elastic search with -server<commit_after>#!/bin/bash

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

JAVA_OPTS="-server"
export JAVA_OPT
elasticsearch-0.18.4/bin/elasticsearch &

echo "Waiting until elasticsearch is ready on port 9200"
while [[ -z `curl -s 'http://localhost:9200' ` ]]
do 
	echo -n "."
	sleep 2s
{'fraction_non_alphanumeric': 0.1411901983663944, 'fraction_numerical': 0.058343057176196034, 'mean_word_length': 4.329192546583851, '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': '5691925', 'n_tokens_mistral': 333, 'n_tokens_neox': 309, 'n_words': 64}