@pamela908 you posted this in #feature, so presuming your question is, “can search be added to the Hugo application somehow”, the answer is: search indexes can be generated by Hugo, but the searching interaction is beyond the project.
Search is not a “static” operation. If you need advanced searching capabilities, I suggest something heavier to do the work for you. Searching language isn’t that easy.