【发布时间】:2017-08-09 18:40:55
【问题描述】:
我有一个 azure 搜索服务,其中包含一些名为“价格”的货币类型数据,但在尝试排序或过滤时遇到了问题。
测试查询表达式为“&seach=*&$orderby=price desc”,返回结果见图 As you can see,the money type automatic convert to string type thus the sort result is compare the string
我担心将money类型更改为double类型会导致一些计算错误。有人知道如何在不更改数据类型的情况下解决这个问题吗?
【问题讨论】:
-
3年3个月过去了,这还是个很痛苦的话题:/
标签: azure odata azure-cognitive-search