Nik
11/19/2024, 2:25 PMtext
If you previously used the setter of Document.Boost, you must now pre-multiply the document boost into each Field.Boost. If you have a multi-valued field, you should do this only for the first Field instance (ie, subsequent Field instance sharing the same field name should only include their per-field boost and not the document level boost) as the boost for multi-valued field instances are multiplied together by Lucene.
My problem is, I don't understand what it's saying or how I should modify the code so that things are "boosted" correctly - does anyone have any pointers?Jemayn
11/19/2024, 8:34 PMNik
11/22/2024, 4:09 PMJemayn
11/24/2024, 11:26 AMcsharp
query.And().GroupedOr(["archived"], "true".Boost(1 / 1000f), "false");