[
https://issues.apache.org/jira/browse/LUCENE-5406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876646#comment-13876646
]
ASF subversion and git services commented on LUCENE-5406:
---------------------------------------------------------
Commit 1559797 from [~gsingers] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1559797 ]
LUCENE-5406: backport from trunk
> ShingleAnalyzerWrapper should expose the delegated analyzer as a public final
> -----------------------------------------------------------------------------
>
> Key: LUCENE-5406
> URL: https://issues.apache.org/jira/browse/LUCENE-5406
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Grant Ingersoll
> Assignee: Grant Ingersoll
> Fix For: 5.0, 4.7
>
>
> I'm sometimes given a ShingleAnalyzerWrapper that I would like to change the
> shingle size on, so I need to create a new instance. However, I don't always
> know what the underlying analyzer is and I can't access it b/c it is a
> protected method on a final class.
> The solution here is to make the getAnalyzer method public final for the
> ShingleAnalyzerWrapper.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]