[ 
https://issues.apache.org/jira/browse/LUCENE-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984389#action_12984389
 ] 

Jason Rutherglen commented on LUCENE-2558:
------------------------------------------

In regards to the deltas, when they're in RAM (ie, for norm and DF updates), 
I'm guessing we'd need to place the updates into a hash map (that hopefully 
uses primitives instead of objects to save RAM)?  We could instantiate a new 
array when the map reached a certain size?

> Use sequence ids for deleted docs
> ---------------------------------
>
>                 Key: LUCENE-2558
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2558
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: Realtime Branch
>            Reporter: Jason Rutherglen
>            Priority: Minor
>             Fix For: Realtime Branch
>
>
> Utilizing the sequence ids created via the update document
> methods, we will enable IndexReader deleted docs over a sequence
> id array. 
> One of the decisions is what primitive type to use. We can start
> off with an int[], then possibly move to a short[] (for lower
> memory consumption) that wraps around.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to