You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/10/08 19:40:42 UTC

[jira] [Commented] (SOLR-5316) Solr 4.2.1 LotsOfCores new options

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

Erick Erickson commented on SOLR-5316:
--------------------------------------

I'm not quite sure when I'll be able to look at this, I've got a pretty busy couple of weeks coming up. Anyone who wants to assign it to themselves feel free, but I don't want it to get lost.

> Solr 4.2.1 LotsOfCores new options
> ----------------------------------
>
>                 Key: SOLR-5316
>                 URL: https://issues.apache.org/jira/browse/SOLR-5316
>             Project: Solr
>          Issue Type: Improvement
>          Components: multicore
>    Affects Versions: 4.2.1
>            Reporter: olivier soyez
>            Assignee: Erick Erickson
>            Priority: Minor
>              Labels: patch
>             Fix For: 4.2.1
>
>         Attachments: solr-4.2.1.patchLOTSOFCORES
>
>
> This patch is for the lotsofcores use case, including some modification : 
> - by default, all cores have loadOnStartup="false" and transient="true" attributes
> - the create admin command can register a lazy core (to take into account the transientCacheSize option)
> - add transient cores persistency
> - handle unload admin command for never launched transient cores (non active cores)
> To improve performance, we use this Solr patched version with the persistence disabled.
> In this way, Solr is working with a solr.xml file without any core entries, because it's useless in our use case (with the new Auto option for the cores)
> The new Cores options :
> - "numBuckets" to create a subdirectory based on a hash on the corename 
> % numBuckets in the core Datadir, because all cores cannot live in the 
> same directory
> - "Auto" with 3 differents values :
> 1) false : default behaviour
> 2) createLoad : create, if not exist, and load the core on the fly on 
> the first incoming request (update, select).
> 3) onlyLoad : load the core on the fly on the first incoming request 
> (update, select), if exist on disk
> The Auto option uses an additional cores option named baseDataDir to automatically generate the dataDir of each core and uses the "numBucket" option if exists.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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