{"id":20198377,"url":"https://github.com/vast-engineering/solr","last_synced_at":"2026-06-08T00:31:38.342Z","repository":{"id":10941227,"uuid":"13248526","full_name":"vast-engineering/solr","owner":"vast-engineering","description":"Production-ready maven project for Solr projects.","archived":false,"fork":false,"pushed_at":"2022-07-07T22:39:57.000Z","size":239,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-03-03T08:29:01.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vast-engineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-01T16:02:11.000Z","updated_at":"2014-01-31T21:20:13.000Z","dependencies_parsed_at":"2022-07-14T01:40:35.404Z","dependency_job_id":null,"html_url":"https://github.com/vast-engineering/solr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vast-engineering/solr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vast-engineering%2Fsolr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vast-engineering%2Fsolr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vast-engineering%2Fsolr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vast-engineering%2Fsolr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vast-engineering","download_url":"https://codeload.github.com/vast-engineering/solr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vast-engineering%2Fsolr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34043822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":[],"created_at":"2024-11-14T04:30:52.503Z","updated_at":"2026-06-08T00:31:38.327Z","avatar_url":"https://github.com/vast-engineering.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"solr\n====\n\nProduction-ready maven project for Solr projects. The output of this build is an installation archive containing\nsome handy defaults as well as some utility scripts.\n\nConfigure\n=========\nYou can setup solr configurations here:\n\n[Click here to see the Solr configuration folder](https://github.com/vast-eng/solr/tree/master/src/main/config)\n\n\nInstall \n=======\nThe build process generates a tarball suitable for installation. This archive contains a default config,\nsome reasonable start/stop scripts, and a logging config. This is really intended only as a boilerplate - if your\nneeds are different, you should either create a new assembly descriptor or just fork and customize this repo.\n\nStart Server\n============\n\nUncompress the installation tarball somewhere, and use the start/stop scripts.\n\n*Start*\nThere are a number of params that can be sent to this startup script\n\n* SOLR_PORT: the port for this instance of solr to listen.\n* SOLR_DATA_DIR: path to the location for storing the index files.\n\nReplication env params\n* SOLR_MASTER: (true|false) if true, then this server is the master.  If not true, then this server is a slave.   It is best practice to always set this param.\n* SOLR_MASTER_HOST: the host/post of the replication master\n\nExamples:  \nRun solr on port 9000, store files in /var/solr/index0, set as master for replication \n\n```\nSOLR_PORT=9000 SOLR_MASTER=true SOLR_DATA_DIR=/var/solr/index0 sh start.sh\n```\n\nRun solr on port 9001, store files in /var/solr/index1, set as slave for replication, set master as the instance in the example above\n\n```\nSOLR_PORT=9001 SOLR_MASTER=false SOLR_MASTER_HOST=localhost:9000 SOLR_DATA_DIR=/var/solr/index1 sh start.sh\n```\n\nIf you do not specific a port, your server will be running on the Solr default port 8983.  \n\n[Solr Back Office - http://localhost:8983/solr](http://localhost:8983/solr)\n\n*Stop*\n```\nsh stop.sh\n```\n\nReplication\n===========\nSolr replication is master-slave. [http://wiki.apache.org/solr/SolrReplication](http://wiki.apache.org/solr/SolrReplication)\n\nThis project sets up hooks for the environment variables to accomplish a cluster.  Leader election is manual right now.  If the master goes down, then the data in slaves will get stale.  To fix, a new master must be elected and services restarted on all nodes, then the data source should load into the new master.  It is probably a good idea to setup a vhost for the index master and switch the pointer in the case of a failure so that upstream index data producers do not require an update to get the change.\n\nHere is a diagram\n\n![Solr Replication Diagram](https://raw.github.com/vast-eng/solr/master/docs/solr-replication.png \"Solr Replication\")\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvast-engineering%2Fsolr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvast-engineering%2Fsolr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvast-engineering%2Fsolr/lists"}