Replies: 3 comments 4 replies
-
I assume you run 1.8.x.. In the latest |
Beta Was this translation helpful? Give feedback.
-
I added the Elastic service in the builder.Services.AddOrchardCms().ConfigureServices(options =>
{
var settings = new ConnectionSettings(new Uri("http://localhost:9200")).DefaultIndex("orchardcore_elasticsearch_index");
var client = new ElasticClient(settings);
options.AddSingleton<IElasticClient>(client);
options.AddElasticServices();
}); it worked! |
Beta Was this translation helpful? Give feedback.
-
Thank you. |
Beta Was this translation helpful? Give feedback.
-
When I activate the ElasticSearch feature according to the instructional video
1- The Elasticsearch menu does not get added under the Search submenu.
2- In the search -> settings -> search menu, there is no option to select the default search provider, and I only see a save button.
3- I have checked the enabled options in features and set them exactly as in the instructional video. However, the /search page and the content definitions -> content types menu encounter the following error:
InvalidOperationException: Unable to resolve service for type 'OrchardCore.Search.Elasticsearch.Core.Services.ElasticIndexSettingsService' while attempting to activate 'OrchardCore.Search.Elasticsearch.Drivers.ContentPickerFieldElasticEditorSettingsDriver'.
Thank you for your guidance.
Beta Was this translation helpful? Give feedback.
All reactions