标签: elasticsearch
GET urza/user/_search { “script_fields”: { “my_score”: { “script”: “doc[‘total_revenue_i’].value / doc[‘purchased_i’].value” } },“query”: { “range”: { “total_revenue_i”: { “gt”:0 } } } }
如何对将在上述查询中计算的my_score值应用过滤器?