Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Alias support

Kevin Feb 25, 2015 03:15PM EET

I signed up for your free account through Heroku in order to trial your search product. I am unable to create aliases through your dashboard, and searchkick (my ES library) errors when attempted to access your alias endpoint for automatic creation. How am I supposed to create Aliases?

Thanks.

Up 0 rated Down
Ferhat Sobay Feb 25, 2015 03:30PM EET Searchly Agent
Hi Kevin,

Dashboard does not have feature to create aliases but show them. We support all Elasticsearch alias api http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html. Searchkick should be able to create aliases, can you please find error response message?

Best,
Ferhat
Up 0 rated Down
Kevin Feb 25, 2015 10:03PM EET
I get the error when searchkick makes a request to:

http://fili-us-east-1.searchly.com/_aliases

It is attempting to get a list of aliases so it knows if it needs to clean up any indexes... The error my app receives it the same error I get if I go to that URL in the browser when authenticated:

{"error":"IndexMissingException[[_aliases] missing]","status":404}

Up 0 rated Down
Kevin Feb 25, 2015 10:21PM EET
I see now that searchkick uses the elasticsearch-api and it calls into it without specifying an index name for getting the aliases. Traditionally this would work on a default elasticsearch setup:

http://localhost:9200/_aliases

and

http://localhost:9200/my_index/_aliases

Both work..

But with Searchly... only the scoped version works:

http://fili-us-east-1.searchly.com/_aliases (DOES NOT WORK)

http://fili-us-east-1.searchly.com/my_index/_aliases (WORKS)

In this sense you do not support the full Alias API.. where a client may expect to be able to access alias information for an entire cluster.
Up 0 rated Down
Ferhat Sobay Feb 26, 2015 03:34AM EET Searchly Agent
Hi Kevin,

That api is not documented at 1.4 docs http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-aliases.html#alias-retrieving ,probably deprecated or will be removed.

But on the other hand it is working at 1.4 version.

We have deployed a fix.

Please check and confirm.

Best,
Ferhat
Up 0 rated Down
Kevin Feb 26, 2015 03:53AM EET
Thank you! Everything is working again.. appreciate the prompt update. You guys are great!

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
support@searchly.com
http://assets1.desk.com/
false
searchboxio
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete