AEM integration with elasticsearch ( external search) | Community
Skip to main content
Abhishekty
Level 4
January 13, 2024
Solved

AEM integration with elasticsearch ( external search)

  • January 13, 2024
  • 3 replies
  • 4505 views

Hi Team, 

 

Need your help and suggestion as I am a beginner on this topic:

 

I want to create a POC for AEM integration with ElasticSearch (Search scope is AEM and out box seach content is GIT or separate website) so can anyone suggest any blog/GIT or any tutorial link.

 

I am using AEM as a cloud service and initially I will adopt the unpaid version of Elasticsearch (free subscription) for POC and later I'll finalize for paid.

 

Need your suggestion where can I start and what kind of challenges to expect in the beginning, how I can use ElasticSearch connector for external search ?

 

I went through other tool as well apart for Elasticsearch like algolia (https://www.algolia.com/blog/product/ingesting-data-from-adobe-experience-manager-aem-for-search-discovery/ ) etc but first I am looking for Elasticsearch. so if you have any good suggestion for some tool as well then please suggest.

 

 

 

Thanks 

Abhishek

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Shashi_Mulugu

@abhishekty please refer to below blog which has all details to integrate AEMCS with elastic search. Let us know if you face any challenges while implementing the same..

 

https://medium.com/@vinodh.sampath/site-search-with-es-and-aem-3086f8154bef

3 replies

Shashi_Mulugu
Community Advisor
Shashi_MuluguCommunity AdvisorAccepted solution
Community Advisor
January 13, 2024

@abhishekty please refer to below blog which has all details to integrate AEMCS with elastic search. Let us know if you face any challenges while implementing the same..

 

https://medium.com/@vinodh.sampath/site-search-with-es-and-aem-3086f8154bef

Abhishekty
Level 4
January 14, 2024

Thanks for quick suggestion @shashi_mulugu.

Will let you know in a week if I get any issue or need more inputs.

 

Thanks again for your help, this link seems informative !!

 

Thanks

Abhishek

 

kautuk_sahni
Community Manager
Community Manager
January 15, 2024

@abhishekty Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
Raja_Reddy
Community Advisor
Community Advisor
January 15, 2024

Hi @abhishekty 

To integrate AEM with Elasticsearch, you can start by following these steps:

1. Install and set up Elasticsearch: Download and install Elasticsearch on your local machine or server. You can find the installation guide on the Elasticsearch website.

2. Configure Elasticsearch in AEM: In AEM, you need to configure the Elasticsearch connection settings. This involves specifying the Elasticsearch server URL, credentials, and other configuration parameters. You can find the detailed configuration steps in the AEM documentation.

3. Index AEM content in Elasticsearch: AEM provides an out-of-the-box feature called "Oak Indexing" to index content in Elasticsearch. You can configure the indexing rules and properties to determine which AEM content should be indexed and how it should be mapped to Elasticsearch.

4. Implement search functionality: Once the content is indexed, you can implement search functionality in your AEM application. This involves writing queries to search the indexed content in Elasticsearch and displaying the search results in your application.

Here are some resources that can help you get started:

- AEM documentation: The official Adobe Experience Manager documentation provides detailed information on integrating AEM with Elasticsearch. You can find the documentation at
https://experienceleague.adobe.com/docs/experience-manager-65.html?lang=en 
https://aemsimplifiedbynikhil.wordpress.com/2020/08/11/elastic-search-as-a-service-swiftype/ 

 GitHub repositories: There are several GitHub repositories that provide sample code and examples for integrating AEM with Elasticsearch. You can search for repositories using keywords like "AEM Elasticsearch integration" or "AEM Oak Indexing".
https://github.com/deveth0/elasticsearch-aem 

It can be integrated with AEM using its API. If you are specifically looking for Elasticsearch, it is a good choice as it is widely used and has extensive documentation and community support.

I hope this information helps you get started with AEM integration with Elasticsearch. Let me know if you have any further questions!

Thanks.