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

Add NRT support to facets

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.1, 6.0
    • modules/facet
    • None
    • New, Patch Available

    Description

      Currently LuceneTaxonomyReader does not support NRT - i.e., on changes to LuceneTaxonomyWriter, you cannot have the reader updated, like IndexReader/Writer. In order to do that we need to do the following:

      1. Add ctor to LuceneTaxonomyReader to allow you to instantiate it with LuceneTaxonomyWriter.
      2. Add API to LuceneTaxonomyWriter to expose its internal IndexReader
      3. Change LTR.refresh() to return an LTR, rather than void. This is actually not strictly related to that issue, but since we'll need to modify refresh() impl, I think it'll be good to change its API as well. Since all of facet API is @lucene.experimental, no backwards issues here (and the sooner we do it, the better).

      Attachments

        1. LUCENE-3441.patch
          103 kB
          Shai Erera
        2. LUCENE-3441.patch
          91 kB
          Shai Erera

        Issue Links

          Activity

            People

              shaie Shai Erera
              shaie Shai Erera
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: