lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <>
Subject [jira] [Commented] (LUCENE-9002) query caching leads to absurdly slow queries
Date Mon, 11 Nov 2019 21:10:00 GMT


ASF subversion and git services commented on LUCENE-9002:

Commit c2a0b8275be860f2b61c315811e916e97eb84789 in lucene-solr's branch refs/heads/master
from Adrien Grand
[;h=c2a0b82 ]

LUCENE-9002: Fix comment.

> query caching leads to absurdly slow queries
> --------------------------------------------
>                 Key: LUCENE-9002
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>    Affects Versions: 7.7.2, 8.2
>            Reporter: Guoqiang Jiang
>            Priority: Major
>              Labels: cache, performance
>          Time Spent: 9h 20m
>  Remaining Estimate: 0h
> *Description*
> We have dozens of ES clusters(based on Lucene) for metric scenarios. Most of the queries
are like this: _host_ip: AND timestamp:[2019-10-01 00:00:00 TO 2019-10-05 23:59:59]_.
And we frequently encounter some absurdly slow queries.
> *Solution*
> For a long time range query(e.g. 5 days), each range query will consume tens of megabytes
of memory and spend hundreds of milliseconds to cache, but the benefits are not obvious. And
those large cache entries will cause frequent cache eviction. So it's better to  skip the
caching action directly when large range query appears with a selective lead iterator.

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message