olivier soyez created SOLR-5316:
-----------------------------------

             Summary: 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
            Priority: Minor
             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)

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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to