Elassandra 6.2.3.7 - Adding alias to index not acknowleded by API

32 views
Skip to first unread message

Adrian Piaskowski

unread,
Dec 8, 2020, 10:17:10 PM12/8/20
to Elassandra User Mailing List
Hello, I am sorry asking a beginner question, but I currently try to add new aliases (read & write) to my Elasticsearch index.
I've found two possible approaches to do so, but in both cases the API returns only status "acknowledged: false".
Also tried to investigate possible mistakes, by intention writing wrong index name (error detected by API, with correct response) or confirm naming of alias is supported.
So far I couldn't find possible reason for not being able to add the aliases:

a.) curl -X POST "http://my-elassandra-service:9200/_aliases?pretty" -H 'Content-Type: application/json' -d'{"actions": [{ "add": { "index": "index_name", "alias": "alias_name" } }]}'


Do you know a possible reason, why the alias won't be created or how I could get more detailed information on the issue?

Kind regards
Adrian

Vincent Royer

unread,
Dec 9, 2020, 3:43:15 AM12/9/20
to Adrian Piaskowski, Elassandra User Mailing List
Hi Adrian,

It should work, but your are using an old version, upgrade first to 6.2.3.31(see upgrade instruction https://github.com/strapdata/elassandra/tree/v6.2.3-strapdata#upgrade-instructions )
thanks.

--
You received this message because you are subscribed to the Google Groups "Elassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elassandra+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elassandra/e4b4c510-f2d2-4946-9e12-9dc0d80ac049n%40googlegroups.com.

Adrian Piaskowski

unread,
Dec 9, 2020, 8:36:33 PM12/9/20
to Elassandra User Mailing List
Hello vroyer,

yes, I know it's a legacy application, so it has an old version.
I can't change the version right now, but it's already in preparation.
Just in case you know any method, how debug or access more detailed log information, why the alias requests are not acknowledged, please let me know.

Kind regards
Adrian

Vincent Royer

unread,
Dec 11, 2020, 3:27:00 AM12/11/20
to Adrian Piaskowski, Elassandra User Mailing List

Hi Adrian,

I think it is just an old bug of 2018 where templates and aliases where not updated properly.

Sincerely,
Vincent.

Reply all
Reply to author
Forward
0 new messages