lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (LUCENE-5170) Add getter for reuse strategy to Analyzer
Date Tue, 13 Aug 2013 10:57:57 GMT


Robert Muir commented on LUCENE-5170:

+1. I agree we should rethink AnalyzerWrapper too.

my preference: just make it a mandatory arg to the protected ctor of this class.

> Add getter for reuse strategy to Analyzer
> -----------------------------------------
>                 Key: LUCENE-5170
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 5.0, 4.5
>         Attachments: LUCENE-5170.patch
> If you write an Analyzer that wraps another one (but without using AnalyzerWrapper) you
may need use the same reuse strategy in your wrapper. This is not possible as there is no
way to get the reuse startegy (private field and no getter).
> An example is ES's NamedAnalyzer, see my comment: []
> This would add a getter, just a 3-liner.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message