Skip to content


shariqnitt edited this page Jun 30, 2011 · 7 revisions

Solandra supports many cores at once. New cores can be added at runtime, also Solandra supports a concept called virtual cores.

Creating a core

Currently, to add a new core to solandra you simply http post the schema.xml to a new url and the url becomes the name of the core, example:

curl http://localhost:8983/solandra/schema/*CORENAME* --data-binary @schema.xml -H 'Content-type:text/xml; charset=utf-8' 

You can post other resources to the core like a custom solrconfig.xml stopwords.txt etc.

curl http://localhost:8983/solandra/schema/*CORENAME*/solrconfig.xml --data-binary @mysolrconfig.xml
curl http://localhost:8983/solandra/schema/*CORENAME*/stopwords.txt --data-binary @mystopwords.txt

You can now add documents or query this core at:


The new core is accessible across the cluster so you only need to do this against one node in the cluster

Core information

You can access information about the solandra core by browsing to http://localhost:8983/solandra/schema/CORENAME

Virtual Cores

Some applications want to use the same core for many separate indexes, an example would be inbox search (a index per user). Solandra makes this easy.

To use a virtual core simply append a '.' followed by the index name, example:


And so on.

Something went wrong with that request. Please try again.