Giter Site home page Giter Site logo

clonecoreadminhandler's Introduction

clonecoreadminhandler

A solr plugin which allows to clone an existing core.

The plugin extends the solr CoreAdmin (http://wiki.apache.org/solr/CoreAdmin) with an additional CLONE action.

We use this plugin in functional tests fixture setup for running multiple tests in parallel.

Usage:

http://localhost:8983/solr/admin/cores?action=CLONE&sourceCore=myexistingcore&targetCore=newcore

sourceCore: name of an existing core targetCore: name of the cloned core

The configuration (solrconfig.xml, schema.xml) from the sourceCore will be copied to a newly created instance dir.

All occurrences of sourceCore in theses config files will be replaced with the new name.

To make this plugin available do the following:

  • change into the solr home directory (e.g. solr)
  • create a lib in solr home directory (e.g. solr/lib)
  • copy the jar clonecoreadminhandler.jar to solr/lib
  • edit solr/solr.xml and set the 'adminHandler': <cores adminHandler="com.lugensa.solr.plugins.CloneCoreAdminHandler" ...

This plugin requires solr >= 4.5

clonecoreadminhandler's People

Contributors

mghh avatar

Stargazers

Bill Dueber avatar Josip Delić avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.