{"id":19219244,"url":"https://github.com/chassis/chassis_elasticsearch","last_synced_at":"2026-04-15T15:33:21.452Z","repository":{"id":45263226,"uuid":"103143618","full_name":"Chassis/Chassis_Elasticsearch","owner":"Chassis","description":"A Chassis extension for Elasticsearch","archived":false,"fork":false,"pushed_at":"2021-12-26T21:32:43.000Z","size":60,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-06-29T08:41:05.031Z","etag":null,"topics":["chassis","chassis-extension","elasticsearch","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chassis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-11T14:06:01.000Z","updated_at":"2021-12-26T21:32:47.000Z","dependencies_parsed_at":"2022-08-03T07:17:40.376Z","dependency_job_id":null,"html_url":"https://github.com/Chassis/Chassis_Elasticsearch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chassis/Chassis_Elasticsearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chassis%2FChassis_Elasticsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chassis%2FChassis_Elasticsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chassis%2FChassis_Elasticsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chassis%2FChassis_Elasticsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chassis","download_url":"https://codeload.github.com/Chassis/Chassis_Elasticsearch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chassis%2FChassis_Elasticsearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273747734,"owners_count":25160650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chassis","chassis-extension","elasticsearch","wordpress"],"created_at":"2024-11-09T14:30:08.607Z","updated_at":"2026-04-15T15:33:16.428Z","avatar_url":"https://github.com/Chassis.png","language":"Puppet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chassis Elasticsearch\n\nAdds an [ElasticSearch](https://www.elastic.co/) server to your\n[Chassis](https://github.com/Chassis/Chassis) box.\n\n## 🚨 Breaking Changes 🚨\n\nThe Elasticsearch puppet module no longer supports multiple instances and there is no migration path to the new set up. You may need to back up your database, destroy the machine and recreate for it to provision successfully.\n\n## Installation\n\nVia `config.yaml`:\n\nYou can add this repo name under the `extensions` section of your config file.\n\n```yaml\nextensions:\n  chassis/chassis_elasticsearch\n```\n\nVia git:\n\n```\ncd path/to/chassis/extensions\ngit clone --recursive git@github.com:Chassis/Chassis_Elasticsearch.git chassis_elasticsearch\n```\n\nThen reprovision your machine:\n```\nvagrant provision\n```\n\n## Usage\n\nOnce the machine has finished provisioning you can access ElasticSearch at\n`http://\u003chost\u003e:9200/` or from within the VM at `http://localhost:9200/`.\n\nThe extension also provides two PHP constants in your `local-config.php`:\n\n```php\nELASTICSEARCH_HOST // defaults to localhost\nELASTICSEARCH_PORT // defaults to 9200\n```\n\nWe recommend using the [Head Chrome Extension](https://chrome.google.com/webstore/detail/elasticsearch-head/ffmkiejjmecolpfloofpjologoblkegm/) for debugging queries and exploring\nyour indexes.\n\n### Custom Dictionary Files\n\nElasticsearch supports using text files for providing stopwords, synonyms and if using the `analysis-kuromoji` plugin a custom user dictionary file for tokenisation.\n\nThis extension ensures there is a directory at `/usr/share/elasticsearch/config` that is writable by the web server.\n\nTo reference files added to that location you can use a relative path with the `config/` prefix. For example you could create an analyser using a custom stopwords file in the following way:\n\n```json\n{\n  \"analysis\": {\n    \"filter\": {\n      \"custom_stopwords\": {\n        \"type\": \"stop\",\n        \"stopwords_path\": \"config/stopwords.txt\"\n      }\n    },\n    \"analyzer\": {\n      \"default\": {\n        \"type\": \"custom\",\n        \"filter\": [\n          \"custom_stopwords\"\n        ],\n        \"tokenizer\": \"standard\"\n      }\n    }\n  }\n}\n```\n\n## Configuration\n\nChassis ElasticSearch provides some default options you can override from your\nconfig file(s).\n\n```yaml\nelasticsearch:\n  repo_version: '7'\n  version: '7.10.2'\n  plugins:\n    - 'analysis-icu'\n  host: '0.0.0.0'\n  port: 9200\n  timeout: 60\n  # You may want to increase the memory limit here if you are indexing images \u0026 files.\n  # Note you may also need to increase the memory limits for the VM and PHP also.\n  # Value is in Megabytes.\n  memory: 256\n  # You can override the default JVM options here as an array. For more information\n  # see the docs at https://www.elastic.co/guide/en/elasticsearch/reference/master/jvm-options.html\n  jvm_options:\n    # Alternative way to configure the memory heap size settings at a more granular level.\n    - '-Xms256m'\n    - '-Xmx256m'\n```\n\n### A note on memory usage\n\nIf you do increase the memory available to Elasticsearch you should generally ensure the VM itself has double that amount of memory to ensure all extensions and services run smoothly.\n\nThe below example gives Elasticsearch 1Gig of memory and increases the VM memory to 2Gig.\n\n```yaml\nelasticsearch:\n  memory: 1024\n\nvirtualbox:\n  memory: 2048\n```\n\n### Debugging Elasticsearch\n\nIf you're having trouble with Elasticsearch there are a few common commands you can run inside Vagrant.\n\n1. First you need to `vagrant ssh`.\n2. To check the status of Elasticsearch run: `sudo service elasticsearch-es status`.\n3. To stop Elasticsearch run: `sudo service elasticsearch-es stop`\n4. To start Elasticsearch run: `sudo service elasticsearch-es start`\n\nVersion and plugins are the only ones you'll likely want to change.\n\n## About\n\nLicense: GPLv3\n\nThis extension was made with ❤️ by [Human Made](https://hmn.md/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchassis%2Fchassis_elasticsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchassis%2Fchassis_elasticsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchassis%2Fchassis_elasticsearch/lists"}