Hi all,
We are implementing Elastic search Cloud for our Search implementation , We need to implement the Hybrid Search. What are best practices to implement the search , if anyone has implemented please provide guidance.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hello @Shankar_K ,
> Architecture:
AEM Publish → Indexer Service → Elastic Cloud (pages, assets, fragments, suggest)
Search API → UI. Do NOT use AEM QueryBuilder for site search.
> Indexing (AEM → Elastic):
- Index only published content.
- Fields: path, url, title, summary, bodyText (HTML stripped), tags, locale, site, publishDate.
- Assets: title, tags, mimetype, metadata.
- Trigger on Activate/Deactivate. Retry queue. One-time full backfill.
> Analyzers:
- Language analyzers per locale.
- Lowercase, asciifolding.
- Synonyms (versioned).
> Docs / References:
- Elastic ELSER (text_expansion): https://www.elastic.co/guide/en/elasticsearch/reference/current/text-expansion.html
- Elastic Vector Search: https://www.elastic.co/guide/en/elasticsearch/reference/current/knn-search.html
- Reciprocal Rank Fusion: https://www.elastic.co/guide/en/elasticsearch/reference/current/rrf.html
- Index design: https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html
- ILM: https://www.elastic.co/guide/en/elasticsearch/reference/current/index-lifecycle-management.html
- Completion suggester: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html
AEM:
- AEM External Search Patterns: https://experienceleague.adobe.com
(search: “AEM External Search”, “Custom Search with AEM Publish”)
- AEM Content Services / JSON Extract: https://experienceleague.adobe.com/docs/experience-manager-65/content/implementing/developing/conten...
- AEM Indexing Events (Replication / PageEvent): https://experienceleague.adobe.com/docs
Pitfalls:
- Don’t connect Elastic directly to QueryBuilder.
- Don’t overshard.
- Avoid indexing Author content.
Views
Replies
Total Likes
Hi @Shankar_K,
Check this out. There is an interesting new experimental feature on this aspect - https://developer.adobe.com/experience-cloud/experience-manager-apis/api/experimental/contentai/.
This would help the teams to build generative search solutions built for their sites.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies