lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <>
Subject [jira] [Commented] (LUCENE-8855) Add Accountable to Query implementations
Date Tue, 25 Jun 2019 17:40:00 GMT


Andrzej Bialecki  commented on LUCENE-8855:

{quote}Could we make it fail if it encounters an unknown object 
It's not a strict calculation anyway so I don't think we should fail, esp. since some queries
(LTR) may legitimately contain arbitrary parameters - we could simply assume a larger default
value for unknown objects, equivalent eg. to a class with a few primitive and a few moderately-sized
String fields (256 bytes? 384 bytes?).

> Add Accountable to Query implementations
> ----------------------------------------
>                 Key: LUCENE-8855
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Major
>         Attachments: LUCENE-8855.patch, LUCENE-8855.patch, LUCENE-8855.patch, LUCENE-8855.patch
> Query implementations should also support {{Accountable}} API in order to monitor the
memory consumption e.g. in caches where either keys or values are {{Query}} instances.

This message was sent by Atlassian JIRA

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

View raw message