lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Rafalovitch (JIRA)" <>
Subject [jira] [Commented] (SOLR-3619) Rename 'example' dir to 'server' and pull examples into an 'examples' directory
Date Fri, 21 Nov 2014 01:03:11 GMT


Alexandre Rafalovitch commented on SOLR-3619:

Sorry, for spamming this JIRA, but I think I just hit an even bigger *immutable master* issue.
We have different examples stepping on each others' feet.

Specifically, the examples _techproducts_ and _schemaless_ both create the actual Solr collections
inside the *server/solr* directory. So, if you run both, it will create two more collections

Then, if you run _cloud_ example, it will clone this augmented server directory and use that
as a base of node1 and node2 (created, strangely enough, in the current directory).

So, when you actually try to access the Admin UI, it auto-discovers and tries to load those
extra collections as well and fails as configName is - I am guessing - is relative to unexpected
location and does not get resolved. 

Could not find configName for collection techproducts found:null
Could not find configName for collection schemaless found:null 

Would it make sense to:
# Make configsets not changeable by cloning the configuration
# Make all generated examples showing up in *solr/example" directory as that's where the other
examples are anyway
# Make switch question order in the *cloud* example to ask for collection name first and use
that as a root directory name under the *solr/example* with nodes inside of that

I am also not sure that *cloud* example is restartable once it is shutdown. But that's probably
a different issue.

> Rename 'example' dir to 'server' and pull examples into an 'examples' directory
> -------------------------------------------------------------------------------
>                 Key: SOLR-3619
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Timothy Potter
>             Fix For: 5.0, Trunk
>         Attachments: SOLR-3619.patch, SOLR-3619.patch, SOLR-3619.patch, managed-schema,
server-name-layout.png, solrconfig.xml

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message