<commit_before># Hence Solr

[![](https://badge.imagelayers.io/hence/solr:latest.svg)](https://imagelayers.io/?images=hence/solr:latest 'Get your own badge on imagelayers.io')

__*Note:*__  This image is still in BETA, and is subject to change without notice.

This is our minimal customized Solr image based on [alpine:3.2](https://registry.hub.docker.com/_/alpine/).

It uses the [s6-overlay](https://github.com/just-containers/s6-overlay) as a process supervisor and for log rotation.

## Supported tags and respective `Dockerfile` links
* `latest`&nbsp;&nbsp;[solr/Dockerfile](https://github.com/hence-io/images/blob/master/solr/Dockerfile)

## Features
Builds on the [hence/base](https://registry.hub.docker.com/u/hence/base/) image to provide a minimally-sized, fully functional solr environment.

This image includes some configuration presets for various applications:

* `drupal/search_api/5.x`: Search api preset for drupal 7 site
* Others will be added in time

Use a preset by passing `-e CONFIG_PRESET=[name]` to docker run.

In addition to that, you can provide your own config files by mounting them at `$HENCE_APP_VOL_PREFIX/conf`

By default, a core will be automatically created for you. The core name can be controlled by altering the `CONFIG_PRESET_PATH` environment variable.

### Default supervised processes:
* s6-svscan (as PID 1)
* solr
* solr-general-logs (log fifo)
* solr-error-logs (log fifo)
<commit_msg>solr: small fix in readme<commit_after># Hence Solr

[![](https://badge.imagelayers.io/hence/solr:latest.svg)](https://imagelayers.io/?images=hence/solr:latest 'Get your own badge on imagelayers.io')

__*Note:*__  This image is still in BETA, and is subject to change without notice.

This is our minimal customized Solr image based on [alpine:3.2](https://registry.hub.docker.com/_/alpine/).

It uses the [s6-overlay](https://github.com/just-containers/s6-overlay) as a process supervisor and for log rotation.

## Supported tags and respective `Dockerfile` links
* `latest`&nbsp;&nbsp;[solr/Dockerfile](https://github.com/hence-io/images/blob/master/solr/Dockerfile)

## Features
Builds on the [hence/java](https://registry.hub.docker.com/u/hence/java/) image to provide a minimally-sized, fully functional solr environment.

This image includes some configuration presets for various applications:

* `drupal/search_api/5.x`: Search api preset for drupal 7 site
* Others will be added in time

Use a preset by passing `-e CONFIG_PRESET=[name]` to docker run.

In addition to that, you can provide your own config files by mounting them at `$HENCE_APP_VOL_PREFIX/conf`

By default, a core will be automatically created for you. The core name can be controlled by altering the `CONFIG_PRESET_PATH` environment variable.

### Default supervised processes:
* s6-svscan (as PID 1)
* solr
* solr-general-logs (log fifo)
* solr-error-logs (log fifo)

{'fraction_non_alphanumeric': 0.11215277777777778, 'fraction_numerical': 0.005555555555555556, 'mean_word_length': 4.8438133874239355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, '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': '2043181', 'n_tokens_mistral': 948, 'n_tokens_neox': 891, 'n_words': 308}