Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Search solution

Avatar

Level 3

Hi guys, I have been reading about how to implement search in a Adobe AEM site.

I have implemented it outside of AEM multiple times before, with Solr/Lucene, and I always had to go with the boring process of having to build code that inserts, updates and deletes content from the Solr/Lucene.

My question is: Does Adobe AEM provide out of the box content integration with any search tool (like Solr or something alike)?

(I mean, an Out of the Box integration that automatically insert/update/delete content to/from a Search Engine tool every time the author changes something using the authoring environment.)

Thanks,

Fernando

1 Accepted Solution

Avatar

Correct answer by
Level 10

If your primary requirement is not to install any external server like solr, then you have two options available in AEM-OOB - Lucene index and Property index. you could pick either or both based on the requirements.  Refer - Jackrabbit Oak – Oak Query

Oak (in AEM) supports Lucene based indexes to support both property constraint and full text constraints.

Whenever you get a chance, you could check the index definitions/configurations under /oak:index node in /crx/de. It also provides configurations to insert/update/delete the content where most of it happens on its own without user intervention. In addition to that, the developers/super-users could trigger it on adhoc basis as and when required. Refer - Jackrabbit Oak – Lucene Index

Hope that clarifies the question.

View solution in original post

8 Replies

Avatar

Level 10

We have good information - including an Ask the AEM Community Session on this subject lead by top communtiy member bsloki.

Scott's Digital Community: [Webinar |November] AtACE Session: Enterprise Search Solution for AEM usi...

Corresponding article -- Adobe Experience Manager Help | Integrating SOLR with Adobe Experience Manager 6.4

As you see in these - you need to build a custom service using Java.

Hope this helps...

Avatar

Level 3

Hi smacdonald2008​, I am looking for a solution where I don't need to install an external server (for example: external Solr server) - because I don't wanna maintaining that, and also a solution that I don't have to write code to insert/update/delete index information.

Does Aem Query Builder always uses Apache Lucene to make the searches?

Avatar

Level 10

You can write Search components that search the JCR in that case. As mentioned by Lokesh at the webinar - SOLR is a better way to go.

Avatar

Level 10

Does Aem Query Builder always uses Apache Lucene to make the searches?

That is a great question and yes it does. In fact - our ATCE for FEB (again hosted by Lokesh) will be on this subject. We will have registration soon.

Avatar

Correct answer by
Level 10

If your primary requirement is not to install any external server like solr, then you have two options available in AEM-OOB - Lucene index and Property index. you could pick either or both based on the requirements.  Refer - Jackrabbit Oak – Oak Query

Oak (in AEM) supports Lucene based indexes to support both property constraint and full text constraints.

Whenever you get a chance, you could check the index definitions/configurations under /oak:index node in /crx/de. It also provides configurations to insert/update/delete the content where most of it happens on its own without user intervention. In addition to that, the developers/super-users could trigger it on adhoc basis as and when required. Refer - Jackrabbit Oak – Lucene Index

Hope that clarifies the question.

Avatar

Level 3

Thank you for the answers, I got a better understanding of how search works now.

I have another question. Our website is a set of different technologies. We have like:

- Most of the pages built with Adobe AEM;

- FAQ, Help and some other pages built with Angular JS (external app);

- Other pages made with ASPX.

(1) Using Aem Query Builder Is there a way to include in the search results content from these external pages made without Adobe AEM?

Another constraint that I have is PDFs and Microsoft Word files. We have many of these files available for download. We would like to be able to search inside this kind of documents too.

(2) If I choose to use Aem Query Builder/Lucene, is there a way to search content from these documents?

Avatar

Level 10

Hi,

For you question #1 : No, AEM can be responsible for its own content as it will have all the req configuration and control. I dont think AEM can do anything OOB for Non AEM applications.

question #2 : I believe yes, AEM internally indexes the content of pdf and word as well. you can upload a file and try to search with the content using an omnisearch in author instance (to test). I will also take a look on it.

Avatar

Community Advisor

I see this posted in 2019,
Try using Elastic search as a service, it provides dashboard and provides trial version to explore all the options.
Here you have a look at the setup for Elastic search as service.

Also you can have a look at the Algolia Site search
Which I found really awesome to work with.
Happy coding!!