I have elastic setup on azure on ubuntu vm can hit that publicly no problem. For my content I have created one indexing service which is registered I can see it in the admin layer.
Im my web.config i have put for index name umb-cog-elasticsearch this index does not exist yet I have not created it. However I would suspect that from admin ui layer clicking add button should create new index and put the docs into it?
When i click add button i get notification
Unable to find indices matching known index pattern, use the add index option
So bit of progress, I modifed my solution and am referencing the actual src project files and I can now index. However in the ui I am not seeing the index listed so cannot rebuild.
Its funny to see this post, i just pulled down the git repo, and got the example 7.5 project running, got the database from the 74 sample project, changed the login password in the database and got it running.
I have Elasticsearch with kibana running, my indexname is :
umb-elasticsearchv75
and i have manually created this index by using this command :
PUT /umb-elasticsearchv75?pretty
And i can see it in Kibana:
but inside umbraco nothing is available, and if i try to save it just says no index.
Apologies for not seeing our post until now. I don't seem to get any notifications of posts into this forum.
The issue I suspect is related to the "index prefix".
Sets a value indicating a prefix string that will by default be prefixed onto the umbElasticsearch:IndexName value to produce a unique index name for an environment. This setting will attempt to expand any environment variables within the value.
This setting is useful for configuring a development environment in which all developers share an Elasticsearch cluster but want to have a unique index for their computer.
If you do not want to use an index prefix set the value to an empty string as removing the setting altogether will default its value to %COMPUTERNAME%:
The index prefixing is there to support shared Elasticsearch clusters or specific environment deployments. For example where we use this internally the index prefix defaults to "%COMPUTERNAME% so that all developers can share the same Elasticsearch cluster for development but will all have unique indices.
In Rasmus' example the indices it will create (or need permission to create) would be:
desktop-i6e6apd-umb-elasticsearchv75
Where desktop-i6e6apd is the prefix and umb-elasticsearchv75 is the index name.
If you do not want to use an index prefix please set the umbElasticsearch:IndexEnvironmentPrefix to an empty string in the config.
Cannot index
Hi Phil,
I have elastic setup on azure on ubuntu vm can hit that publicly no problem. For my content I have created one indexing service which is registered I can see it in the admin layer.
Im my web.config i have put for index name umb-cog-elasticsearch this index does not exist yet I have not created it. However I would suspect that from admin ui layer clicking add button should create new index and put the docs into it?
When i click add button i get notification
Any ideas?
Regards
Ismail
So bit of progress, I modifed my solution and am referencing the actual src project files and I can now index. However in the ui I am not seeing the index listed so cannot rebuild.
Regards
Ismail
Its funny to see this post, i just pulled down the git repo, and got the example 7.5 project running, got the database from the 74 sample project, changed the login password in the database and got it running.
I have Elasticsearch with kibana running, my indexname is : umb-elasticsearchv75
and i have manually created this index by using this command : PUT /umb-elasticsearchv75?pretty
And i can see it in Kibana:
but inside umbraco nothing is available, and if i try to save it just says no index.
Yo gotten any further Ismail?
Ramsus,
I downloaded the source code and modifed the class IndexManager method IndicesInfo line
I removed the - after ${indexAliasName} that fixed it for me i now can see index and rebuild etc all works a treat.
Regards
Ismail
Ismail / Rasmus,
Apologies for not seeing our post until now. I don't seem to get any notifications of posts into this forum.
The issue I suspect is related to the "index prefix".
Taken from: https://github.com/philo/umbraco.elasticsearch/wiki/Web.config-Settings#umbelasticsearchindexenvironmentprefix
The index prefixing is there to support shared Elasticsearch clusters or specific environment deployments. For example where we use this internally the index prefix defaults to "%COMPUTERNAME% so that all developers can share the same Elasticsearch cluster for development but will all have unique indices.
In Rasmus' example the indices it will create (or need permission to create) would be:
Where desktop-i6e6apd is the prefix and umb-elasticsearchv75 is the index name.
If you do not want to use an index prefix please set the umbElasticsearch:IndexEnvironmentPrefix to an empty string in the config.
is working on a reply...