Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Restrict Full text search to return pre-defined fields.

Avatar

Level 3

Hai All,

I am using full-text search. and If I search for keywords like "admin", "nt-unstructured", also it is showing results,

Can anyone please help me out to restrict full-text search for these AEM pre-defined properties?

 

Many Thanks,

Sateesh K.

2 Replies

Avatar

Level 3

Hi,

 

For restricting the any pre-defined property, navigate to the "/system/console/configMgr" and search for the configuration "Apache Jackrabbit Oak Solr indexing / search configuration". Within the particular configuration there is a field "ignored properties". Add the pre-defined property which you which to exclude.

 

Below is the attached screenshot for that configuration.

 

shaileshb584084_1-1607619163069.png

Thanks

 

shaileshb584084_0-1607619150470.png

 

Avatar

Level 3

Hai shaileshb584084,

 

It is not working for me, I added the properties as follows:

sateeshk9319722_0-1607681590877.png

 

 

Thanks,

Sateesh K