Hi in order to help you I need more info. The search functionality that is embeded in hubspot will use a parameter in the url to search all your site. So, are you trying to search a table you have in hubdb? if that is the case you can use pass a value to the url and use that to filter the table
{% for row in hubdb_table_rows(<tableId>, <filterQuery>) %}
the value for row {{ row.hs_id }} is {{ row.<column name> }}
{% endfor %}
this is an example
{% set filter = '&orderBy=-hs_created_at' %}
{% set testimonials = hubdb_table_rows(999, filter) %}
{% if testimonials %}
{% for row in testimonials %}...
this are the options you have for filters is the same as the API