Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3826

Lucene index augmentation doesn't work in Osgi environment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.14, 1.4
    • Component/s: lucene
    • Labels:
      None

      Description

      OAK-3576 introduced a way to hook SPI to provide extra fields and query terms for a lucene index.

      In Osgi world, due to OAK-3815, LuceneIndexProviderService registered references to SPI and pinged IndexAugmentFactory to update its map. But, it seems bind/unbind methods get called ahead of time as compared to the information Tracker contains. This leads to wrong set of services captured by IndexAugmentFactory

        Attachments

        1. OAK-3826-v2.patch
          22 kB
          Vikas Saurabh
        2. OAK-3826.patch
          8 kB
          Vikas Saurabh

          Issue Links

            Activity

              People

              • Assignee:
                catholicon Vikas Saurabh
                Reporter:
                catholicon Vikas Saurabh
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: