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/02/03 13:06:10 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=13889431#comment-13889431 ]
ASF subversion and git services commented on LUCENE-5406:
---------------------------------------------------------
Commit 1563855 from [~bmargulies] in branch 'dev/trunk'
[ https://svn.apache.org/r1563855 ]
LUCENE-5405: changes.txt; and fix a typo of Grant's for LUCENE-5406.
> 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