lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Ryan <>
Subject restricting a query by a "set" of field values
Date Mon, 29 Jul 2013 14:33:43 GMT
               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
               WHERE date BETWEEN '2013-07-01 00:00:00' AND '2013-07-31 23:59:00'
               AND collection_id IN (....)

               In my SOLR schema.xml date_deposited is a TrieDateField and collection_id is
an IntField


Dr Ben Ryan
Jorum Technical Manager

5.12 Roscoe Building
The University of Manchester
Oxford Road
M13 9PL
Tel: 0160 275 6039

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message