Re: Converting a collection name to an alias

2021-01-07 Thread Mike Drob
I believe you may be able to use that command (or some combination of
create alias commands) to create an alias from A to A, and then in
the future when you want to change it you can have Alias A to collection B
(assuming this is the point of the alias in the first place).

On Thu, Jan 7, 2021 at 1:53 PM ufuk yılmaz 
wrote:

> Hi,
> I’m aware of that API but it doesn’t do what I actually want.
>
> regards
>
> Sent from Mail for Windows 10
>
> From: matthew sporleder
> Sent: 07 January 2021 22:46
> To: solr-user@lucene.apache.org
> Subject: Re: Converting a collection name to an alias
>
> https://lucene.apache.org/solr/guide/8_1/collections-api.html#rename
>
> On Thu, Jan 7, 2021 at 2:07 PM ufuk yılmaz 
> wrote:
> >
> > Hi again,
> >
> > Lets say I have a collection named A.
> > I’m trying to rename it to A_1, then create an alias named A, which
> points to the A_1 collection.
> > Is this possible without deleting and reindexing the collection from
> scratch?
> >
> > Regards,
> > uyilmaz
> >
>
>


RE: Converting a collection name to an alias

2021-01-07 Thread ufuk yılmaz
Hi,
I’m aware of that API but it doesn’t do what I actually want.

regards

Sent from Mail for Windows 10

From: matthew sporleder
Sent: 07 January 2021 22:46
To: solr-user@lucene.apache.org
Subject: Re: Converting a collection name to an alias

https://lucene.apache.org/solr/guide/8_1/collections-api.html#rename

On Thu, Jan 7, 2021 at 2:07 PM ufuk yılmaz  wrote:
>
> Hi again,
>
> Lets say I have a collection named A.
> I’m trying to rename it to A_1, then create an alias named A, which points to 
> the A_1 collection.
> Is this possible without deleting and reindexing the collection from scratch?
>
> Regards,
> uyilmaz
>



Re: Converting a collection name to an alias

2021-01-07 Thread matthew sporleder
https://lucene.apache.org/solr/guide/8_1/collections-api.html#rename

On Thu, Jan 7, 2021 at 2:07 PM ufuk yılmaz  wrote:
>
> Hi again,
>
> Lets say I have a collection named A.
> I’m trying to rename it to A_1, then create an alias named A, which points to 
> the A_1 collection.
> Is this possible without deleting and reindexing the collection from scratch?
>
> Regards,
> uyilmaz
>