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

Noble Paul commented on SOLR-2593:
----------------------------------

bq. the fq type option is basically going to require making a full copy of hte 
index and then deleting by query...

Lucene does it better. We can pass a Filtered Index to a new writer and it 
creates a new index w/ only those docs. I was surprised at the speed at which 
it split a dummy 1million doc index in < 1 sec





> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to