Implement 'weight' field, use it in fireplace search API (bug 993172)