Re: restricting a query by a "set" of field values

2013-07-29 Thread Chris Hostetter
: 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

Re: restricting a query by a "set" of field values

2013-07-29 Thread Jason Hellman
Ben, This could be constructed as so: 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 The parenthesis around the 1 2 n set indicate a boolean query, and we're ensuring they are an OR boolean by the q.op parameter. This should get you the

restricting a query by a "set" of field values

2013-07-29 Thread Benjamin Ryan
Hi, Is it possible to construct a query in SOLR to perform a query that is "restricted" to only those documents that have a field value in a particular set of values similar to what would be done in POstgres with the SQL query: SELECT date_deposited FROM stats