0
SELECT id, first_qualified, publish_date, from_date,
CASE WHEN first_qualified =0
THEN publish_date
ELSE from_date
END sortdate
FROM `jobs`
ORDER BY `sortdate` DESC
我想用solr Version:3.6來表示上面的mysql查詢。solr根據邏輯字段選擇排序
任何幫助將不勝感激
謝謝!