At the entrance we have a set of objects with a different number of properties. For each property, a full-text search is performed, at the output of which we have relevance. Task: calculate the total relevance of objects.
The simplest solution, counting the sum of the relevance of all properties of an object, is not appropriate due to the fact that objects may have a different number of properties. I tend to something like this: total_relevance_of_object = maximum_relevance_from_of_property_object_and average_relevance_ of rest_property_object_. But this formula is sucked from the finger. Surely, there is a whole class of similar algorithms. Tell me in which direction to dig.