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

Erick Erickson commented on SOLR-4662:
--------------------------------------

Does this structure work? I'll be working on this off and on this week, I've 
just about got a bunch of other stuff ready to check in and this is next up. 
Once this is done, I think we'll be in reasonably good shape, at least the 
major parts will be in place. Should we mark it "experimental" for 4.3?

I figure to just look at the structure of the file to determine whether it's 
new or old style. It seems like the absence of a <cores> tag is enough to 
distinguish the two.

And it would be _really_ helpful if anyone spoke up right now about things I've 
forgotten, I culled things sitting in an airport with really poor internet 
connectivity.

Of course any of the values can have system properties, I just didn't specify 
them here, and I've added coreRootDirectory as per Shawn's suggestion since the 
more I think about it the more it seems like a good thing to arbitrarily 
specify the root of where the directories live...

<solr>
  <str name="hostContext">blah</str>
  <str name="sharedLib">lib</str>
  <int name="transientCacheSize">210</int>
  <str name="coreRootDirectory">absoluteoOrrelativePath</str>
  
  <solrcloud>
    <str name="host">127.0.0.1</str>
    <int name="hostPort">${hostPort:8983}</int>
    <int name="zkClientTimeout">1500</int>
    <str name="hostContext">whatever</str>
    <str name=""></str>
    <str name=""></str>
  </solrcloud>
  
  <shardHandlerFactory name="shardHandlerFactory" 
class="HttpShardHandlerFactory">
    <int name="socketTimeout">${socketTimeout:120000}</int>
    <int name="connTimeout">${connTimeout:15000}</int>
  </shardHandlerFactory>
 </solr>

                
> Finalize what we're going to do with solr.xml, auto-discovery, config sets.
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-4662
>                 URL: https://issues.apache.org/jira/browse/SOLR-4662
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.3, 5.0
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Blocker
>
> Spinoff from SOLR-4615, breaking it out here so we can address the changes in 
> pieces.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to