https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40853
--- Comment #10 from Caroline Cyr La Rose <[email protected]> --- (In reply to Caroline Cyr La Rose from comment #9) > I tried this a little bit. I used our mappings, which have weights > author = 5.00 > subject = 10.00 > title = 20.00 > title-cover = 25.00 > (I think the title-cover one is there because there was no > ElasticsearchBoostFieldMatch) > title-series = 15.00 > > > I imported 100 records which have the word "angelique" (or related word like > angel, etc). There is, among others > 245$a Angélique / $c Guillaume Musso > 245$a Angélique : $b roman / $c Guillaume Musso. > 245$a Angelique. $n 1 $p Buffalo Hunt $c Cora Taylor ; [map illustration, > Sharon Matthews ; interior illustrations, James Bentley]. > 245$a Angelique. $n 3 $p Autumn alone $c Cora Taylor ; [map illustration, > Sharon Matthews ; interior illustrations, James Bentley]. > 245$a Angelique. $n 2 $p The long way home $c Statement of responsibility, > etc. Cora Taylor ; [map illustration, Sharon Matthews ; interior > illustrations, James Bentley]. > 245$a Angelique. $n 4 $p Angel in the snow $c Cora Taylor ; [map > illustration, Sharon Matthews ; interior illustrations, James Bentley]. > > I did these tests on KTD with ES8.I simply search for angelique in the bar > at the top of the staff interface. > > With just the weights and no prefs, the results are like this > "Angelique. 4 Angel in the snow" 16th result > "Angélique: roman" 17th > "Angélique" 18th > "Angelique. 3 Autumn alone" 19th > "Angelique. 2 The long way" 20th > "Angelique. 1 Buffalo Hunt" 21st > > With ElasticsearchBoostFieldMatch emabled > "Angélique" 1ST! WOW!! > "Angelique. 1 Buffalo Hunt" 2nd!! > "Angelique. 4 Angel in the snow" 3rd > "Angélique: roman" 7th > "Angelique. 3 Autumn alone" 8th > "Angelique. 2 The long way" 9th > > With ElasticsearchBoostFieldMatchAmount set to 30 > Same as above > > I don't see a difference with ElasticsearchBoostFieldMatchAmount, I tried > 10, 20, 30... To specify, the 4th, 5th, and 6th results are not exact matches with 245$a 4th 245$aPrésence angélique : $b messages des anges que nous rencontrons chaque jour / $c Statement of responsibility, etc. Chrissie Astell ; traduit de l'anglais par Corinne Berruel Ainsley. 5th 245$a La démone angélique / $c France Lorrain 6th 245$a La belle Angélique / $c Nadine Grelet avec la collaboration de Jacques Lamarche Ideally the ones with an exact match in 245$a should be at the top iiuc -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
