How to optimize content for a custom search?

Hello friends,

How to optimize content for a custom search?