Wahid Bawa
06/10/2025, 6:27 PMAlan Martini
06/10/2025, 6:36 PMquery_by_weights, you must pass a weight for each field listed in query_by. The number of weights must match the number of fields exactly.
If you don’t pass query_by_weights the default is that the first field listed in query_by gets the highest implicit weight, and the rest get progressively lower weights.
The exact default values are hardcoded, but usually irrelevant in practice: either you’re explicitly setting weights (in which case relative size matters), or you're not setting any and letting the defaults handle it.ust pass an weight for each field declared in query_by.Shiva Dixith
06/13/2025, 3:01 PM