Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.5
    • Component/s: lucene
    • Labels:
      None

      Description

      As discussed in [1] for enabling custom analyzers in Oak we intend make use of OSGi ServiceRegistry. This would require other bundles to create custom analyzer instance and register it with SR from where oak-lucene would look them up

      Further export would make use of Mandatory Attributes so as to prevent Oak usage of Lucene affecting other bundles in the OSGi runtime. The Lucene packages would be exported like

      Export-Package: org.apache.lucene;provider="oak";mandatory=:provider
      

      And any bundle which wish to make use of Lucene related packages

      Import-Package : org.apache.lucene;provider="oak"
      

      [1] http://markmail.org/thread/xsmg3tjjbkhtyhpk#query:+page:1+mid:jmip66k43l2qxc6a+state:results
      [2] http://www.osgi.org/download/r4v41/r4.core.pdf (Sec 3.6.6 pg 45)

        Attachments

        1. bnd.txt
          234 kB
          Chetan Mehrotra

          Issue Links

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: