Solr 进行查找 - 查询字段区间

你可以对字段进行区间查找,下面的查询将会在 price 字段中查询价格在 $0 和 $400 之间的数据。http://localhost:8983/solr/select?q=price:[0%20TO%20400]&fl=id,name,price