我在Azure搜索中有3套相同(以文本形式)的项目,这些项目因价格和积分而异。带有更高积分的便宜产品会被提升得更高。(价格比点数上涨得更多,反之亦然)。
但是,我一直看到与此类似的搜索结果。
搜索在“约翰·米尔顿”上。
我懂了
Product="Id = 2-462109171829-1, Price=116.57, Points= 7, Name=Life of Schamyl / John Milton Mackie, Description=.", Score=32.499783
Product="Id = 2-462109171829-2, Price=116.40, Points= 9, Name=Life of Schamyl / John Milton Mackie, Description=.", Score=32.454872
Product="Id = 2-462109171829-3, Price=115.64, Points= 9, Name=Life of Schamyl / John Milton Mackie, Description=.", Score=32.316270
Run Code Online (Sandbox Code Playgroud)
我希望评分顺序是这样的,首先是最低的价格。
Product="Id = 2-462109171829-3, Price=115.64, Points= 9, Name=Life of Schamyl / John Milton Mackie, Description=.", Score=
Product="Id = 2-462109171829-2, Price=116.40, Points= 9, Name=Life of Schamyl / John Milton Mackie, Description=.", Score= …Run Code Online (Sandbox Code Playgroud)