Hi, 1) and 2) should have equal performance, given that several searches are performed with the same fq-param. Since the filters are cached, 1) and 2) perform better.
Kind regards, Em Am 21.02.2012 19:06, schrieb ku3ia: > 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. >