Can't/won't...this is one part of a set of criteria, and those criteria can be pretty arbitrarily changed. I couldn't - with confidence - extract this part without possibly compromising the correctness of the result.
Thanks for the suggestion though...is there anything else to be done? Anything I could be specifically caching? Regards, Steve On Sat, Oct 3, 2009 at 9:07 AM, Yonik Seeley <yo...@lucidimagination.com> wrote: > On Sat, Oct 3, 2009 at 11:44 AM, Steve Conover <scono...@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 >