2016-05-19 16:13:56 +02:00
|
|
|
---
|
|
|
|
# solr
|
2016-12-07 16:05:32 +01:00
|
|
|
solr_install: False
|
2017-11-02 12:17:58 +01:00
|
|
|
solr_version: 7.1.0
|
2016-05-19 16:13:56 +02:00
|
|
|
solr_http_port: 8983
|
|
|
|
solr_service: -solr
|
|
|
|
solr_config_name: hindex
|
|
|
|
solr_shards: 1
|
|
|
|
solr_instance: '{{ solr_service }}'
|
2017-09-06 20:13:40 +02:00
|
|
|
solr_log_dir: /var/log/solr
|
2016-05-19 16:13:56 +02:00
|
|
|
solr_log_level: INFO
|
|
|
|
solr_http_port_1: '{{ solr_http_port }}'
|
|
|
|
solr_zoo_port: 9983
|
|
|
|
solr_zoo_port_1: 9984
|
|
|
|
solr_zoo_port_2: 9985
|
|
|
|
solr_jmx_port_1: 8601
|
|
|
|
solr_user: solr
|
|
|
|
solr_group: solr
|
|
|
|
# We need to define this one because we are using the tomcat multiple instances role
|
2017-09-06 20:13:40 +02:00
|
|
|
solr_base_dir: /opt
|
|
|
|
solr_server_dir: '{{ solr_base_dir }}/solr'
|
|
|
|
solr_data_dir: '{{ solr_server_dir }}/server/solr'
|
|
|
|
solr_collections_base_dir: '{{ solr_data_dir }}/data/solr'
|
|
|
|
solr_pid_dir: '{{ solr_server_dir }}/bin'
|
2016-05-19 16:13:56 +02:00
|
|
|
solr_heap: 1024M
|
|
|
|
solr_mode: solrcloud
|
|
|
|
solr_download_dir: '{{ solr_base_dir }}/download'
|
|
|
|
solr_zookeeper_data_dir: '{{ solr_data_dir }}/zoo_data'
|
|
|
|
solr_install_collection1: False
|
|
|
|
solr_download_url: 'http://www-eu.apache.org/dist/lucene/solr/{{ solr_version }}/solr-{{ solr_version }}.tgz'
|
|
|
|
solr_jar_files:
|
|
|
|
- contrib/analysis-extras/lib/icu4*.jar
|
|
|
|
- contrib/analysis-extras/lucene-libs/lucene-analyzers-icu*.jar
|
|
|
|
|
2017-10-16 16:06:13 +02:00
|
|
|
solr_startup_opts: '-Ddisable.configEdit=true'
|
|
|
|
|
2017-09-06 20:13:40 +02:00
|
|
|
solr_set_gc_options: False
|
|
|
|
#solr_gc_tune: '-XX:NewRatio=3 -XX:SurvivorRatio=4'
|
|
|
|
solr_gc_tune: ''
|
|
|
|
|
|
|
|
solr_multicore: False
|
|
|
|
solr_cores:
|
|
|
|
- collection1
|
2016-05-19 16:13:56 +02:00
|
|
|
|
2017-09-06 20:13:40 +02:00
|
|
|
solr_cloud_mode: True
|
|
|
|
# When we want to use an external zookeeper cluster, set this one to True
|
|
|
|
solr_zk_external_cluster: False
|
|
|
|
solr_zk_hosts: '127.0.0.1:2181'
|
|
|
|
solr_zk_timeout: 15000
|