lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Rutherglen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1584) Callback for intercepting merging segments in IndexWriter
Date Fri, 03 Apr 2009 01:13:12 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Rutherglen updated LUCENE-1584:
-------------------------------------

    Attachment: LUCENE-1584.patch

Patch is combined with LUCENE-1516. 

IndexWriter has a setSegmentMergerCallback method that is called
in IW.mergeMiddle where the readers being merged and the newly
merged reader are passed to the SMC.mergedSegments method.

I think we need to expose the SegmentReader segment name somehow
either via IndexReader.getSegmentName or an interface on top of
SegmentReader?  

> Callback for intercepting merging segments in IndexWriter
> ---------------------------------------------------------
>
>                 Key: LUCENE-1584
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1584
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.4.1
>            Reporter: Jason Rutherglen
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1584.patch
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> For things like merging field caches or bitsets, it's useful to
> know which segments were merged to create a new segment.

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


Mime
View raw message