[jira] [Updated] (SOLR-5704) solr.xml coreNodeDirectory is ignored when creating new cores via REST(ish) apis

2014-02-10 Thread Alan Woodward (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Woodward updated SOLR-5704:


Attachment: SOLR-5704.patch

Updated patch, fixing a couple of test fails due to TestHarness creating a 
ConfigSolr object with a null resource loader.

> solr.xml coreNodeDirectory is ignored when creating new cores via REST(ish) 
> apis
> 
>
> Key: SOLR-5704
> URL: https://issues.apache.org/jira/browse/SOLR-5704
> Project: Solr
>  Issue Type: Bug
>Affects Versions: 4.6.1
> Environment: x86_64 Linux
> x86_64 Sun Java 7_u21
>Reporter: Jesse Sipprell
>Assignee: Alan Woodward
>Priority: Minor
>  Labels: solr.xml
> Attachments: SOLR-5704.patch, SOLR-5704.patch
>
>
> "New style" core.properties auto-configuration works correctly at startup 
> when {{$\{coreRootDirectory\}}} is specified in {{$\{solr.home\}/solr.xml}}, 
> however it does not work if a core is later created dynamically via either 
> (indirectly) the collection API or (directly) the core API.
> Core creation is always attempted in {{$\{solr.home\}}}.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-5704) solr.xml coreNodeDirectory is ignored when creating new cores via REST(ish) apis

2014-02-09 Thread Alan Woodward (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Woodward updated SOLR-5704:


Attachment: SOLR-5704.patch

So the problem here is that when a CoreDescriptor gets a relative instance dir, 
it always resolves that against solr home.  This patch updates it to check for 
a coreRootDirectory first.

> solr.xml coreNodeDirectory is ignored when creating new cores via REST(ish) 
> apis
> 
>
> Key: SOLR-5704
> URL: https://issues.apache.org/jira/browse/SOLR-5704
> Project: Solr
>  Issue Type: Bug
>Affects Versions: 4.6.1
> Environment: x86_64 Linux
> x86_64 Sun Java 7_u21
>Reporter: Jesse Sipprell
>Assignee: Alan Woodward
>Priority: Minor
>  Labels: solr.xml
> Attachments: SOLR-5704.patch
>
>
> "New style" core.properties auto-configuration works correctly at startup 
> when {{$\{coreRootDirectory\}}} is specified in {{$\{solr.home\}/solr.xml}}, 
> however it does not work if a core is later created dynamically via either 
> (indirectly) the collection API or (directly) the core API.
> Core creation is always attempted in {{$\{solr.home\}}}.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-5704) solr.xml coreNodeDirectory is ignored when creating new cores via REST(ish) apis

2014-02-06 Thread Jesse Sipprell (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse Sipprell updated SOLR-5704:
-

Description: 
"New style" core.properties auto-configuration works correctly at startup when 
{{$\{coreRootDirectory\}}} is specified in {{$\{solr.home\}/solr.xml}}, however 
it does not work if a core is later created dynamically via either (indirectly) 
the collection API or (directly) the core API.

Core creation is always attempted in {{$\{solr.home\}}}.

  was:"New style" core.properties auto-configuration works correctly at startup 
when ${coreRootDirectory} is specified in ${solr.home}/solr.xml, however it 
does not work if a core is later created dynamically via either (indirectly) 
the collection API or (directly) the core API. Core creation is always 
attempted in ${solr.home}.


> solr.xml coreNodeDirectory is ignored when creating new cores via REST(ish) 
> apis
> 
>
> Key: SOLR-5704
> URL: https://issues.apache.org/jira/browse/SOLR-5704
> Project: Solr
>  Issue Type: Bug
>Affects Versions: 4.6.1
> Environment: x86_64 Linux
> x86_64 Sun Java 7_u21
>Reporter: Jesse Sipprell
>Priority: Minor
>  Labels: solr.xml
>
> "New style" core.properties auto-configuration works correctly at startup 
> when {{$\{coreRootDirectory\}}} is specified in {{$\{solr.home\}/solr.xml}}, 
> however it does not work if a core is later created dynamically via either 
> (indirectly) the collection API or (directly) the core API.
> Core creation is always attempted in {{$\{solr.home\}}}.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org