Solr实现SQL的查询语句
//查询http://localhost/order/select?q=item_main_title:澳洲&wt=json&indent=true&fl=id,order_number,src,src_order
http://localhost/order/select?q=*:*&wt=json&indent=true&fq=order_date:
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
String time = "lostTime:["+sdf.format(new Date())+" TO "+sdf.format(new Date())+"]";
http://localhost/order/select?q=*:*&wt=json&indent=true&fq=channel_id:5 AND order_date: AND (order_status:E OR order_status:F OR order_status:G OR order_status:H)
http://localhost/wwwItem/select?q=*:*&wt=json&indent=true&fq=key_word:%E5%BD%93%E5%9C%B0%E7%BE%8E%E9%A3%9F&group=true&group.field=second_category_id&start=0&rows=10000&1445419659773
页:
[1]