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

Michael McCandless commented on LUCENE-1785:
--------------------------------------------

Hmm good question.  Actually, couldn't we pull a Term(s)Enum from the newly 
merged segment for that field, and use it to eliminate the non-dead terms?

> Simple FieldCache merging
> -------------------------
>
>                 Key: LUCENE-1785
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1785
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 2.4.1
>            Reporter: Jason Rutherglen
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-1785.patch, LUCENE-1785.patch, LUCENE-1785.patch, 
> LUCENE-1785.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> We'll merge the field caches in RAM as the SegmentReader's are
> merged in IndexWriter (the first cut will work in conjunction
> with IW.getReader). There will be an optional callback to
> determine which fields to merge. 

-- 
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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to