You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2016/11/08 14:44:58 UTC
[jira] [Updated] (LUCENE-7545) Dense norms/doc values should not
consume memory in the IW buffer to store the set of docs with a value for
the field
[ https://issues.apache.org/jira/browse/LUCENE-7545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-7545:
---------------------------------
Attachment: LUCENE-7545.patch
Here is a patch. It adds a DocsWithFieldSet helper class that first assumes all docs have a value for the field and only stores the highest docID seen so far, and migrate to a FixedBitSet if there is a gap.
> Dense norms/doc values should not consume memory in the IW buffer to store the set of docs with a value for the field
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-7545
> URL: https://issues.apache.org/jira/browse/LUCENE-7545
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-7545.patch
>
>
> Using a bit set to store docs that have a value for a field is great for sparse doc values, but it is a pity we have to pay this price for dense doc values too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org