Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

AEM integration with elasticsearch ( external search)

Avatar

Level 4

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-dis... ) 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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@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

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

@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

Avatar

Level 4

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

 

Avatar

Administrator

@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

Avatar

Community Advisor

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.