Document's relevancy score weight #216
Replies: 4 comments 6 replies
-
Hi @Jure-BB 👋, Today the order of searchable attributes represents a kind of general weight applied by field to all documents. If I understand correctly you would like to have a different weight for each document, is that right? Can you tell me more about your use case, I imagine that not all documents are equivalent in terms of information and that some deserve to be more important according to your own definitions. Thanks for your feedback |
Beta Was this translation helpful? Give feedback.
-
Actually, one more use case would be "newer/fresh documents have higher weights", so that you could manually add a weight of 1.0 to 0.5 where new documents would get a boost. |
Beta Was this translation helpful? Give feedback.
-
Really surprised boost/penalize by arbitrary fields isn't already developed – can't imagine industrial search without this. https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/how-to/boost-or-penalize-some-records/ The importance of some fields vs others is also a pretty critical feature. (Match in title is more important than match in tertiary attribute) |
Beta Was this translation helpful? Give feedback.
-
Just a note, this functionality is probably a subset of function scoring. |
Beta Was this translation helpful? Give feedback.
-
An option to specify a numeric field as document's relevancy score weight.
At search time, document's relevancy scores (i.e. ranking rules) would be multiplied with document's weight value. Weight value used as multiplier only influences sort order by nudging relevancy and is not a regular hard sort rule.
Beta Was this translation helpful? Give feedback.
All reactions