lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: solr url control
Date Sat, 03 Mar 2018 00:45:29 GMT
On 3/2/2018 10:29 AM, Becky Bonner wrote:
> We are trying to setup one solr server for several applications each with a different
collection.  Is there a way to have have 2 collections under one folder and the url be something
like this:

No. I am not aware of any way to set up a hierarchy like this. 
Collections and cores have one identifier for their names.  You could
use myparent1_collection1 as a name.

Implementing such a hierarchy like this would likely be difficult for
the dev team, and would probably be a large source of bugs for several
releases after it first became available.  I don't think a feature like
this is likely to happen.

Later, you said "We would not want the data from one collection to ever
show up in another collection query."  That's not ever going to happen
unless the software making the query explicitly requests it, and it will
need to know details about the indexes in your Solr server to be able to
do it successfully.  FYI: People who cannot be trusted shouldn't ever
have direct access to your Solr installation.

Are you running SolrCloud?  I ask because if you're not, then the
terminology for each index isn't a "collection" ... it's a core.  This
is a pedantic statement, but you'll get better answers if your
terminology is correct.

If you were running SolrCloud, it would be extremely unlikely for you to
have a directory structure like you describe.  SolrCloud normally
handles all core creation behind the scenes and isn't going to set up a
directory structure like that.

Information about how core discovery works:


View raw message