<commit_before>FROM java:7

ENV SOLR_VERSION 4.10.1

RUN curl -sSL http://www.eu.apache.org/dist/lucene/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz \
        | tar -v -C /opt -xz

RUN cp -r /opt/solr-$SOLR_VERSION/example /opt/solr

WORKDIR /opt/solr
EXPOSE 8983

CMD ["java", "-jar", "start.jar"]<commit_msg>added a volume so that solr container may restart without loosing its index<commit_after>FROM java:7

ENV SOLR_VERSION 4.10.1

RUN curl -sSL http://www.eu.apache.org/dist/lucene/solr/$SOLR_VERSION/solr-$SOLR_VERSION.tgz \
        | tar -v -C /opt -xz

RUN cp -r /opt/solr-$SOLR_VERSION/example /opt/solr

WORKDIR /opt/solr
VOLUME /opt/solr/solr/core1/data
EXPOSE 8983

CMD ["java", "-jar", "start.jar"]
{'fraction_non_alphanumeric': 0.14809590973201692, 'fraction_numerical': 0.02679830747531735, 'mean_word_length': 3.3292682926829267, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3900536', 'n_tokens_mistral': 310, 'n_tokens_neox': 285, 'n_words': 67}