Expand my Community achievements bar.

AEM Full Text Search

Avatar

Level 2

Hi,

We have a requirement to do full text search while we search from the AEM Assets Search Console

Example: Suppose I search with key word "apple" it would result me 10 assets, ifI search with key word "mango" it would result me 10 assets.

If i search with "apple mango" it is resulting 0 assets but it should result 20 assets.

How to perform this using OOTB features

 

Regards,

Devi

 

 

@arunpatidar @EstebanBustamante 

Topics

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

6 Replies

Avatar

Community Advisor

@DeviS1 please follow the OR operation as Arun mentioned. Additionally, you can modify the following config:

  • Go to Tools > Operations > Configuration Browser in AEM.
  • Look for the configuration related to com.day.cq.search.eval.FulltextPredicateEvaluator.
  • Adjust the fulltext.relaxed property to true.

This makes the search less strict by allowing partial matches or combining multiple terms with an "OR" condition rather than an "AND".

 

Avatar

Level 2

Hi @diksha_mishra ,

 

Thanks for the response.

Could you let us know the steps to follow for AEMaaCS to configure fulltext.relaxed property to true.

 

Regards,

Devi

 

Avatar

Employee

If more than one keyword is used, AND is the default operator between the keywords, thus, it considers a search for ‘apple mango’ to be ‘apple AND mango’. For results having both terms use apple OR mango

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/best-prac...

 

The search results that match all search terms in metadata fields are displayed first, followed by the search results that match any of the search terms in the smart tags. The approximate order of display of search results is:

  1. Matches of apple mango the various metadata fields.
  2. Matches of apple mango in smart tags.
  3. Matches of apple or of mango in smart tags.  This search only includes Assets which contain the specified terms together. The search criteria look like - "apple mango"

Avatar

Administrator

@DeviS1 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni

Avatar

Level 2

Hi,

 

Apart from using OR, AND operators or wild cards how to achieve this particulaty with search facets using OOTB functionality.

 

@arunpatidar @diksha_mishra @digarg17 
Can you help in this.

 

Regards,

Devi