Showing search results than can be parameter names (like "size") or values (like "big")

Consider the following page:

enter image description here

The user can use the search to find items or to filter the table. If the user wants to find a person whose "name" (parameter) "contains" (logical operator) "lis" (value), the name "Elisa" must be shown. The user then clicks on the result and is sent to the "Elisa" page.

The caveat is that we must also show "parameters" by the same logic, regardless of values. For example, if I search for "ame"; "Amelia" must be shown (since it is a name that contains "ame") but "Name" itself, as a parameter whose name contains "ame", must also be shown as a selectable option (the user then defines the "value" for "name" in a subsequent step).

My question is how to best present these results. One approach I've seen used before is dividing the results into columns, one for each parameter:

enter image description here

Note that "listing status" is shown as a "result", since its name contains "lis", but also as a parameter, since two of its possible values also contain "lis".

This approach, in my opinion, has the benefit of being more, "results-focused", being more common (and, in theory, better understood) and more straightforward.

On the other hand, if you have matches in a lot of parameters, they just won't fit the horizontal limit; which might imply results not being shown straight away. Also, if the user selects a parameter, it will be mandatory to send him or her to a "next step" to specify values.

Another approach:

enter image description here

The left "column" shows attributes whose name match the search, and also attributes that have values that match the search.

If an attribute/parameter whose name is a match is selected on the left, the user can specify a value on the right and confirm that as a filter. If an attribute that has values that match is selected, the values that match are shown on the right and clicking on them confirm that parameter/value pair as a filter.

The example shows attributes whose name match the search being shown on the right, and clicking them would have the same effect as selecting them on the left (I'll probably scrape this scenario and just show values on the right).

This approach is more convoluted, but maybe better organised. It's also more robust in tackling scenarios in which a great number of parameters might be present, while also allowing some space for specifying values directly.

So, if anyone could have any insights of prior projects in which a similar problem was presented, I'd love to hear about your results or other approaches to this kind of search.

Cheers!