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

Usage of NodeAggregator creates cyclic dependency between oak.spi.query and oak.plugins.index.*

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.3, 1.8.0
    • core, indexing, query
    • None

    Description

      As mentioned in OAK-6304 I had an another look at the dependencies of the oak.spi.query packages space and found a single dependency on oak.plugins.index.*:

      QueryIndex.FulltextQueryIndex.getNodeAggregator returns a org.apache.jackrabbit.oak.plugins.index.aggregate.NodeAggregator.

      As far as I could see this is the only dependency left within the oak.spi.query package pointing to interfaces/classes inside oak-core.

      tmueller, would it be possible to move the org.apache.jackrabbit.oak.plugins.index.aggregate.NodeAggregator interface to some package below oak.spi.query or a potential (new) oak.spi.index? wdyt?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: