io.github.mightguy:solr-cloud-manager-service

Solr Cloud Manager to Handle and Update Solr clusters

License

License

GroupId

GroupId

io.github.mightguy
ArtifactId

ArtifactId

solr-cloud-manager-service
Last Version

Last Version

1.2.43
Release Date

Release Date

Type

Type

jar
Description

Description

Solr Cloud Manager to Handle and Update Solr clusters

Download solr-cloud-manager-service

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.mightguy/solr-cloud-manager-service/ -->
<dependency>
    <groupId>io.github.mightguy</groupId>
    <artifactId>solr-cloud-manager-service</artifactId>
    <version>1.2.43</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.mightguy/solr-cloud-manager-service/
implementation 'io.github.mightguy:solr-cloud-manager-service:1.2.43'
// https://jarcasting.com/artifacts/io.github.mightguy/solr-cloud-manager-service/
implementation ("io.github.mightguy:solr-cloud-manager-service:1.2.43")
'io.github.mightguy:solr-cloud-manager-service:jar:1.2.43'
<dependency org="io.github.mightguy" name="solr-cloud-manager-service" rev="1.2.43">
  <artifact name="solr-cloud-manager-service" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.mightguy', module='solr-cloud-manager-service', version='1.2.43')
)
libraryDependencies += "io.github.mightguy" % "solr-cloud-manager-service" % "1.2.43"
[io.github.mightguy/solr-cloud-manager-service "1.2.43"]

Dependencies

compile (23)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.2
com.fasterxml.jackson.core : jackson-databind jar
com.fasterxml.jackson.dataformat : jackson-dataformat-yaml jar
org.slf4j : slf4j-api jar 1.7.25
org.springframework.boot : spring-boot-starter-web jar 2.0.6.RELEASE
org.springframework.boot : spring-boot-starter-actuator jar 2.0.6.RELEASE
org.springframework.boot : spring-boot-starter-aop jar 2.0.6.RELEASE
org.eclipse.jgit : org.eclipse.jgit jar 5.2.0.201812061821-r
io.springfox : springfox-swagger-ui jar 2.9.2
io.springfox : springfox-swagger2 jar 2.9.2
org.springframework : spring-aop jar
org.aspectj : aspectjweaver jar 1.8.13
com.lmax : disruptor jar 3.3.4
org.springframework.boot : spring-boot-starter-thymeleaf jar 2.0.6.RELEASE
de.codecentric : spring-boot-admin-starter-client jar 2.0.6
org.apache.solr : solr-solrj jar 7.6.0
org.apache.solr : solr-core jar 8.4.0
io.micrometer : micrometer-registry-prometheus jar 1.0.7
com.jayway.jsonpath : json-path jar 2.4.0
javax.validation : validation-api jar 2.0.1.Final
org.springframework.boot : spring-boot-configuration-processor Optional jar 2.0.6.RELEASE
junit : junit jar 4.13.1
com.google.guava : guava jar 24.1.1-jre

test (2)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar 2.0.6.RELEASE
org.apache.solr : solr-test-framework jar 7.6.0

Project Modules

There are no modules declared in this project.

Travis Build Status Coverage Status License: MIT Maven Central

Solr-Cloud-Manager

Traditionally for setting up solr with our collections, we need to manually push our configurations to zookeeper, and then we need to create collections from the collections API of SOLR. And then we need to create aliases manually. This is a 4-5 step process and sometimes error prone to collections of SOLR.

So here is the solr-cloud-initializer which will initialize your SOLR Cloud with pushing the fellow collections to the Zookeper and marking your instance up and ready for indexing.

This can also be used to update solr-configurations like adding new field and reload collections

  • Initialize the Solr Cloud with the configs across clusters.
  • A single interface for updating/uploading any config inside zookeeper.
  • Track down the CDCR changes and status.
  • Trigger backup/restore and notify once completed.
  • Create and manage aliases for multiple cores in a live/shadow fashion.
  • A single API to switch the aliases between live/shadow.

Design

Swagger UI

Prerequisites

Please make sure the collection configurations are updated in the solr-configurations module for now only groceries and typeahead has been added to them. To run SOLR cloud initializer it is mandatory to build solr-configurations. so make sure your configurations are updated.

  • Zk is started and chroot is created
  • SolrCloud's nodes pointing to zk with chroot are started(jar with plugins should be already present there)

Running SOLR Cloud Initializer

It's easy to run SOLR cloud initialise as it is a spring boot command line runner application, just run

java -jar solr-manager-service-1.0-SNAPSHOT.jar  

Built With

Versioning

We use SemVer for versioning.

Nexus

Licenese

The MIT License (MIT)
Copyright © 2019 Lucky Sharma ( https://github.com/MighTguY/customized-symspell )
Copyright © 2018 Wolf Garbe (Original C# implementation https://github.com/wolfgarbe/SymSpell )

Permission is hereby granted, free of charge, to any person 
obtaining a copy of this software and associated documentation files
(the “Software”), to deal in the Software without restriction, 
including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is 
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall 
be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, 
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 
THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Versions

Version
1.2.43