how to find particular sentence only using AEM site search?

keeleyj70431205

18-08-2020

How can an aem author use the search function to bring up a particular sentence? so that the words are in the same order on the page as they are in the search field?

 

eg how to buy a t-shirt

 

If aem author puts this in search function they want it to bring up all pages with that particular sentence. 

 

keeleyj70431205_0-1597749794604.png

 

AEM AEM 6.1 search Sites

Accepted Solutions (1)

Accepted Solutions (1)

Answers (3)

Answers (3)

Vijayalakshmi_S

MVP

18-08-2020

Hi @keeleyj70431205,

Search icon in top tool bar is used for search function within AEM instance.

In this case, as the requirement is to bring the pages of matching search sentence, you can be in "Sites" console and then search using the same top toolbar, you will be able to see the page card coming up in the search results provided you have similar sentence in the page content or in the page description field.

Using Filter in the left section, you can narrow down the search further. 

Since the question is tagged with AEM 6.1, below is the respective documentation for further detailed information. 

https://docs.adobe.com/content/docs/en/aem/6-1/author/author-environment/search.html

Behind the scene:

This is executed as a full text search query, you can enable logger in your local instance -> perform search -> observe the logs.

Sample screenshot for reference from 6.5.0 : (Have authored similar sentence in both description field and in page content, it is able to bring up the result)

Vijayalakshmi_S_1-1597754392423.png

Vijayalakshmi_S_0-1597754247300.png