lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: multiple indexes?
Date Sat, 01 Dec 2012 06:02:00 GMT
On 11/30/2012 10:11 PM, Joe Zhang wrote:
> May I ask: how to set up multiple indexes, and specify which index to send
> the docs to at indexing time, and later on, how to specify which index to
> work with?
> A related question: what is the storage location and structure of solr
> indexes?
When you index or query data, you'll use a base URL specific to the 
index (core).  Everything goes through that base URL, which includes the 
name of the core:


The file called solr.xml tells Solr about multiple cores.Each core has 
an instanceDir and a dataDir.

In the dataDir, Solr will create an index dir, which contains the Lucene 
index.  Here are the file formats for recent versions:


View raw message