lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ku3ia <dem...@gmail.com>
Subject Date filter query
Date Tue, 21 Feb 2012 18:06:21 GMT
Hi all! 

Please advice me:
1) q=test&fq=date:[NOW-30DAY+TO+NOW]
2) q=test&fq=date:[2012-01-23T00:00:00Z+TO+2012-02-21T23:59:59Z]
3) q=test+AND+date:[NOW-30DAY+TO+NOW]
4) q=test+AND+date:[2012-01-23T00:00:00Z+TO+2012-02-21T23:59:59Z]

where date:
<fieldType name="tdate" class="solr.TrieDateField" omitNorms="true"
precisionStep="6" positionIncrementGap="0"/>
<field name="date" type="tdate" indexed="true" stored="true"/>

Which of these queries will be faster by QTime at Solr 3.5? Thanks!

--
View this message in context: http://lucene.472066.n3.nabble.com/Date-filter-query-tp3764349p3764349.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message