I don't specify any sort order, and i do request for the score, so it is
ordered based on that.

My schema consists of these fields:
<field name="id" type="string" indexed="true" stored="true" required="true"
/> 
<field name="timestamp" type="pdate" indexed="true" stored="true"
default="NOW" multiValued="false"/> (changing now to tdate)
<field name="type" type="string" indexed="true" stored="true"
required="true" /> 
<field name="contents" type="text" indexed="true" stored="false"
termVectors="true" />

and a typical query would be:
fl=id,type,timestamp,score&start=0&q="Coca+Cola"+pepsi+-"dr+pepper"&fq=timestamp:[2010-07-07T00:00:00Z+TO+NOW]+AND+(type:x+OR+type:y)&rows=2000

thanks again for you time
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/filter-query-on-timestamp-slowing-query-tp977280p989536.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to