lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: is it possible to speed up this query?
Date Sat, 03 Oct 2009 16:07:44 GMT
On Sat, Oct 3, 2009 at 11:44 AM, Steve Conover <sconover@gmail.com> wrote:
> Hi,
>
> I have a query that's taking about 120ms to run that I'd like to try
> to reduce if possible.  The key element that seems to be at the root
> of about 100ms of the delay is a "not null" criterion (it happens to
> be a Long field), i.e.
>
> foo:[* TO *]
>
> I've tried converting to trie ranges and that hasn't helped - are
> there any other tricks around accomplishing "not null" that would turn
> the query around faster?

Could you pull it out as a filter?   fq=foo:[* TO *]

-Yonik
http://www.lucidimagination.com

Mime
View raw message