how to find particular sentence only using AEM site search?

Avatar

Avatar

keeleyj70431205

Avatar

keeleyj70431205

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)

Avatar

Avatar

Nikhil-Kumar

MVP

Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
MVP

18-08-2020

@keeleyj70431205 

Go to http://localhost:4502/aem/search.html and search for the string in the search bar in top right corner. 

 

search.PNG

Also you can export this data in the form of CSV.

Answers (3)

Answers (3)

Avatar

Avatar

vanegi

Employee

Avatar

vanegi

Employee

vanegi
Employee

18-08-2020

This can be achieved through omni search functionality https://docs.adobe.com/content/help/en/experience-manager-learn/sites/developing/search-tutorial-dev....

 

You can do a full text search in AEM sites console like "how to buy a t-shirt" enclosed in a double quotes. See https://helpx.adobe.com/in/experience-manager/6-3/assets/using/gql-search.html for more details.

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

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

 

Avatar

Avatar

Nikhil-Kumar

MVP

Avatar

Nikhil-Kumar

MVP

Nikhil-Kumar
MVP

18-08-2020