You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/01/20 19:19:22 UTC
[jira] [Commented] (LUCENE-5406) ShingleAnalyzerWrapper should
expose the delegated analyzer as a public final
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org