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

SpanQuery.getTermContexts() static helper methods should be public

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: