@Cbaone
An another solution could be to filter all the documents which don’t include the searchterm (e.g "cro") in the field "tv_content" (concatenation of all tv value of the document)
So a snippet call with &filter=`tv_content,cro,7` for instance will exlude all the documents with a field tv_content which don’t contain "cro"
With that we are sure that a search result has also a TV which contain your snippet value.
But unfortunately, the filter parameter requires a text as criterion. And in your case, the text is variable and equal to the searchterm provided by the end user.
So to work, it could be better to have the possibility to have something like &filter=`tv_content,#,7` where # means "searchterm provided by the end user".
And on fly substitute the text criterion "#" by the correct searchterm value.
This solution means an update of the code. Find below this update (tested locally on my own demo site). Simply substitue the file class/search.class.inc by the attached file.
Try it with the following snippet call:
[!AjaxSearch? &tplAjaxResult=`@FILE:assets/snippets/ajaxSearch/templates/tvphxAjaxResult.tpl.html` &tvPhx=`tv:displayTV` &filter=`tv_content,#,7`!]
The template tvphxAjaxResult.tpl.html is also attached below. I have used the name "widget_name" for your tv name. Load this file under ajaxSearch/templates/
I will integrate this update in the next release 1.8.1 which will coming soon to take into account some remarks and bug fixing.
Let me know the results.