lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2593) A new core admin command 'split' for splitting index
Date Wed, 15 Jun 2011 23:16:47 GMT

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

Hoss Man commented on SOLR-2593:
--------------------------------

bq. If it's possible, it would be cool to have config parameters to:

...those seem like they should be discrete actions that can be taken after the split has happened.
 the simplest thing is to have a "split" action that _just_ creates a new core with the docs
selected either using the fq (or randomly selection) and then use other CoreAdmin actions
for the other stuff: rename, swap, swap+delete (the old one), merge ... merge is really the
only one we don't have at a "core" level yet (i think)



> A new core admin command 'split' for splitting index
> ----------------------------------------------------
>
>                 Key: SOLR-2593
>                 URL: https://issues.apache.org/jira/browse/SOLR-2593
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Noble Paul
>             Fix For: 4.0
>
>
> If an index is too large/hot it would be desirable to split it out to another core .
> This core may eventually be replicated out to another host.
> There can be to be multiple strategies 
> * random split of x or x% 
> * fq="user:johndoe"
> example 
> example :
> command=split&split=20percent&newcore=my_new_index
> or
> command=split&fq=user:johndoe&newcore=john_doe_index

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message