Skip to content

Can not upgrade stempel plugin from elasticsearch 0.90.5 #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2014

Conversation

dadoonet
Copy link
Member

@dadoonet dadoonet commented Feb 5, 2014

Due to fix 3790 in core, upgrading an analyzer provided as a plugin now fails.

See elastic/elasticsearch#4936 for details.

Issue is in elasticsearch core code but can be fixed in plugins by overloading PreBuiltTokenFilterFactoryFactory and PreBuiltAnalyzerProviderFactory.

Closes #18.

Due to fix [3790](elastic/elasticsearch#3790) in core, upgrading an analyzer provided as a plugin now fails.

See elastic/elasticsearch#4936 for details.

Issue is in elasticsearch core code but can be fixed in plugins by overloading `PreBuiltTokenFilterFactoryFactory` and `PreBuiltAnalyzerProviderFactory`.

Closes #18.
import org.elasticsearch.index.analysis.PreBuiltAnalyzerProvider;
import org.elasticsearch.index.analysis.PreBuiltAnalyzerProviderFactory;

public class StempelAnalyzerProviderFactory extends PreBuiltAnalyzerProviderFactory {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather implement AnalyzerProviderFactory instead

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah right - well bummer! then I guess that is fine though!

@s1monw
Copy link

s1monw commented Feb 5, 2014

left two comments - otherwise LGTM

@dadoonet dadoonet merged commit fc68d81 into elastic:1.x Feb 5, 2014
@dadoonet dadoonet deleted the issue/18-upgradefail branch February 5, 2014 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants