lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: restricting a query by a "set" of field values
Date Mon, 29 Jul 2013 16:16:44 GMT

: fl=date_deposited&fq=date[2013-07-01T00:00:00Z TO 2013-07-31T23:59:00Z]&fq=collection_id(1
2 n)&q.op=OR

typo -- the colon is missing...

fq=collection_id:(1 2 n)

if you don't want the q.op to apply globally to your request, you can also 
scope it only for that filter. likewise the "field_name:" and paren syntax 
can be replaced by using the "df" param...

   fq={!lucene q.op=OR df=collection_id}1 2 3 4 5


-Hoss

Mime
View raw message