how to find particular sentence only using AEM site search?



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. 




AEM AEM 6.1 search Sites

Accepted Solutions (1)

Accepted Solutions (1)

Answers (3)

Answers (3)




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.

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)