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

SpanQuery.getTermContexts() static helper methods should be public

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.5
    • None
    • None
    • New

    Description

      Currently, SpanQuery has two protected static helper methods for extracting all TermContext objects from a collection of SpanWeights. These are useful for objects extending SpanQuery. However, because they're static protected, they can't be accessed by subclasses if those subclasses have been loaded by a different classloader (for example, if they're being loaded as a Solr plugin).

      Attachments

        1. LUCENE-6981.patch
          2 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: