We have a client who would like to display comments in the search results. Say I search for “potatoes” and there is an entry called “How to cook potatoes” and a comment that reads “I really like potatoes.” We’d like the search results to show something like:
Your search for "potatoes" yielded 2 results:
1. How to cook potatoes
2. I really like potatoesCurrently using the simple search form with search_in=“everywhere” and the example search results template does not accomplish this; indeed, searching for keywords within comments that exist does not return results at all.
I found a forum thread about this where this was tracked as a bug that was resolved. Is the inability to find comments in searches the result of user error, or is the simple search form not capable of returning comments as I’d like?
Any help is much appreciated.