Lucene - Core
  1. Lucene - Core
  2. LUCENE-3704

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major 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.

        Activity

        Ken McCracken created issue -
        Hide
        Ken McCracken added a comment -

        new method beforeMergeAfterSetup(..) permits override in IndexWriter.java.

        Show
        Ken McCracken added a comment - new method beforeMergeAfterSetup(..) permits override in IndexWriter.java.
        Ken McCracken made changes -
        Field Original Value New Value
        Attachment bobo-contrib-geosearch.patch [ 12510983 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Ken McCracken
          • Votes:
            9 Vote for this issue
            Watchers:
            4 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

                Development