[
https://issues.apache.org/jira/browse/LUCENE-6981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Woodward updated LUCENE-6981:
----------------------------------
Attachment: LUCENE-6981.patch
Patch. Makes the two static methods on SpanQuery public, and also adds a
getSpans() method to SpanScorer to expose its underlying Spans to other runtime
packages.
> SpanQuery.getTermContexts() static helper methods should be public
> ------------------------------------------------------------------
>
> Key: LUCENE-6981
> URL: https://issues.apache.org/jira/browse/LUCENE-6981
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Attachments: LUCENE-6981.patch
>
>
> 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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]