lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Rochkind <rochk...@jhu.edu>
Subject RE: filter query on timestamp slowing query???
Date Fri, 23 Jul 2010 16:39:43 GMT
> 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

My understanding is that this is essentially what the solr 1.4 trie date fields are made for,
I'd use them, should speed things up.  Not sure where the best documentation for them is,
but see:

http://www.lucidimagination.com/blog/2009/05/13/exploring-lucene-and-solrs-trierange-capabilities/



Mime
View raw message