Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3704

No hook provided in IndexWriter.java before merge after setup, for auxiliary indexes

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.5
    • Fix Version/s: None
    • Component/s: core/other
    • Labels:
    • Lucene Fields:
      New, Patch Available

      Description

      When trying to manage an auxiliary index to lucene, IndexWriter.java 3.5.0 does not provide a proper hook. Such a hook (see attached proposed patch) permits us to manage an outside index where we get 1 of our segments in parallel to the lucene segments, and we can keep the same docid offsets within the segment.

      We are attaching a suggested patch that provides an override-able method. We would like this accepted for 3.5+ if possible. Thanks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ken.mccracken Ken McCracken
            • Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified