[ 
https://issues.apache.org/jira/browse/SOLR-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614364#action_12614364
 ] 

Jerry Quinn commented on SOLR-637:
----------------------------------

OK, I added
   <dataDir>${solr.data.dir:./solr/data}/coreX</dataDir>
to each solr config and it did what I expected.

It was a misunderstanding on my part, though perhaps it would make sense to 
provide a full copy of the regular example done as 2 multicore indices.

Is the name of the core available in a variable?  Then I could write something 
like:

   <dataDir>${solr.data.dir:./solr/data}/${solr.corename}</dataDir>

and have the same line in each solrconfig instead of having to customize each 
one.




> multicore ignores -Dsolr.data.dir=<dir>
> ---------------------------------------
>
>                 Key: SOLR-637
>                 URL: https://issues.apache.org/jira/browse/SOLR-637
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment:  linux x86_64 rhel ibm-java-6 prepackaged jetty
> solr snapshot 7-15-2008 
>            Reporter: Jerry Quinn
>
> If I want to set a directory for index data combined with multicore, I can't 
> do it this way.  If it worked, I'd expect to see something like:
> <dir>/core0/index
> <dir>/core1/index
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to