Implementing site search

Adobe_Forms_Tec

28-02-2017

Hi Everyone,

I am new to implementing site search feature in our site in AEM, it should have autosuggest feature,fast and should be able to search in documents also apart from content in site, can anyone suggest me the possible approaches for this, and how much is it benefitial to implement any external search like ElasticSearch in AEM

Thanks for your help

 

Regards

Pallavi

Accepted Solutions (1)

Accepted Solutions (1)

Opkar_Gill

Employee

03-03-2017

Pallavi Singh wrote...

Hi , Thanks for your response

 

I have one doubt if AEM already provides Site Search Out of the box component then what is the need of implementing external search like Elastic Search, if we can customize existing provided search components. Is there any performance related difference using AEM Out of box and external searches?

 

If you wanted to do Federated search, then you should do that with an external search engine, you don't want to be pulling content from other sites into AEM to do federated search. If you wanted to do semantic or natural language search, then you would need an external search engine(there are some other features not available with OOTB search). 

External search engines are good if all the content is public, as enabling ACL's can become complicated and take time, if you use the OAKSOLR integration, then this does apply ACL's to solr content.

With an external search engine, you obviously have the latency of making a call to the external search engine and pulling the results, depending on the network latency, this may or may not be an issue for you.

Regards,

Opkar

Answers (6)

Answers (6)

Nikhil-Kumar

MVP

15-08-2020

I see this posted in 2017,
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!!

kautuk_sahni

Community Manager

02-03-2017

Adding one more reference here on top of what scoot has shared:

Link:- https://www.gastongonzalez.com/tech-blog/2013/9/14/advantages-of-solr-over-adobe-cqs-aems-lucene-int...

// Advantages of Solr over Adobe CQ's / AEM's Lucene Integration

 

Apart from the above,some information that i was able to accumulate from internal experts are : 

  • Lucene
    • Full text search
    • Property based search
    • Stemming
    • Synonyms
    • Stopwords
    • Properties weighting (boost in lucene)
    • Facets
  • SolR - all the features included in Lucene + the following
    • Upside
      • “Separation of duties”
      • Scalability
      • Indexing of non AEM sources of content
    • Downside:
      • Increased complexity related to configuration/maintenance/support
  • 3d party solutions (Elastic search, googlebox, etc)
    • Upside
      • Scalability
      • Cloud hosted for some
      • Indexing of non AEM sources of content
      • Business rules capabilities to alter search result (for marketing purpose for example, like S&P)
    • Downside:
      • Loose the ACL most likely
      • Delayed indexing

I hope this would be helpful to you.

~kautuk

Adobe_Forms_Tec

01-03-2017

Hi , Thanks for your response

 

I have one doubt if AEM already provides Site Search Out of the box component then what is the need of implementing external search like Elastic Search, if we can customize existing provided search components. Is there any performance related difference using AEM Out of box and external searches?