标签: solr
我正在使用solr进行搜索。我需要执行表达式排序,以便:
ORDER BY(IF(COUNTRY = 1,100,0)+ IF(AVAILABLE = 2,1000,IF(AVAILABLE = 1,60,0))+ IF(DELIVERYIN IN (5,6,7),100,IF(DELIVERYIN IN(80,90),50,0)))DESC
谁能告诉我怎么可能这样?