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

IndexReader.setTermInfosIndexDivisor doesn't carry over to reopened readers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • core/index
    • None
    • New

    Description

      When you reopen a reader, some segments are shared (and thus properly inherit the index divisor) but others are newly opened and use the default index divisor. You then have no way to change the index divisor of those newly opened ones. The only workaround is to not use reopen (always open a new reader).

      I'd like to make termInfosDivisor an up-front param to IndexReader, anyway, for LUCENE-1609, so likely I'll fix both of these issues there.

      Attachments

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: