Hey Yoink,

thanks a lot for your quick reply.

> I suspect that the endpoint to your dateline filter changes often,
> hence caching is doing no good.  Is then endpoint (1181237598) derived
> from the current time?
Yes, it is.

> If so, there are some things you can do:
> 1) make it faster to generate a new filter by limiting the number of
> terms in the dateline field (during indexing, always round it to the
> nearest day)
> 2) allow solr to reuse previously generated filters more often by
> rounding the dateline endpoint during query time.
> 
> You most likely want to do #2, and probably #1 (depending on how often
> you commit new changes to the index).

I will give both of them a try. 

Is there a general speed problem with range searches in solr? It looks a bit 
strange for me, that a query for a term takes 5 ms while adding a filter to the 
same resultset takes 80s?

Cheers,

Michael


-- 
Michael Thessel <[EMAIL PROTECTED]>
Gossamer Threads Inc. http://www.gossamer-threads.com/
Tel: (604) 687-5804 Fax: (604) 687-5806

Reply via email to