lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: Does solr cloud support rename or swap function for collection?
Date Sun, 07 Apr 2013 07:19:43 GMT
Mark, have hunted, but not found docs for this feature. Can you point me
at something? It is a very useful feature.

Thx!!

Upayavira

On Sun, Apr 7, 2013, at 12:22 AM, Mark Miller wrote:
> 4.2 and 4.2.1 have collection aliasing (similar to what we had with
> SolrCore aliasing at one point). You can use that to have one url and
> swap the collection search by it by the scenes.
> 
> - Mark
> 
> On Apr 6, 2013, at 6:28 AM, bradhill99 <bradhill99@yahoo.com> wrote:
> 
> > Hi,
> > We are using solr 4.1 and we create a collection name my_data with 20
> > shards. 
> > Our index files are generated by using lucence api every one hour and load
> > into solr cloud using core admin API.
> > My problem is, for data generated every one hour, I need to create a new
> > collection name like my_data_001 and to load the index files under that
> > collection name. And my_data will be useless and my_data_001 is the latest
> > data. In order to keep query url unchanged, I need to rename my_data_001 to
> > my_data, but I can't see any collection API to do the rename or swap like
> > core admin supports.
> > How can I do this?
> > 
> > thanks,
> > 
> > Brad
> > 
> > 
> > 
> > --
> > View this message in context: http://lucene.472066.n3.nabble.com/Does-solr-cloud-support-rename-or-swap-function-for-collection-tp4054193.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> 

Mime
View raw message