2016-11-14 168 views

回答

1

使用過濾器查詢fq=-id:("id1", id:"id2") 例如

http://localhost:8983/solr/collection/select?indent=on&q=querystring&wt=json&fq=-id:("id1", id:"id2") 

這丟棄在篩選器查詢提到的ID列表文件(FQ)參數

0

CustomerID:* AND NOT CustomerID:(ID1 OR ID2 OR ... IDn)