On Fri, May 23, 2014 at 11:37 AM, Toke Eskildsen <t...@statsbiblioteket.dk> wrote: > Per Steffensen [st...@designware.dk] wrote: >> * It IS more efficient to just use the index for the >> "no_dlng_doc_ind_sto"-part of the request to get doc-ids that match that >> part and then fetch timestamp-doc-values for those doc-ids to filter out >> the docs that does not match the "timestamp_dlng_doc_ind_sto"-part of >> the query. > > Thank you for the follow up. It sounds rather special-case though, with > requirement of DocValues for the range-field. Do you think this can be > generalized?
Maybe it already is? http://heliosearch.org/advanced-filter-caching-in-solr/ Something like this: &fq={!frange cache=false cost=150 v=timestampField l=beginTime u=endTime} -Yonik http://heliosearch.org - facet functions, subfacets, off-heap filters&fieldcache