Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

[PPL] Add the analyzer constructor #487

Conversation

penghuo
Copy link
Contributor

@penghuo penghuo commented May 26, 2020

Issue #, if available:

Description of changes:

  1. add the construct Analyzer using Spring IoC.
  2. fix the mismatch between functionname.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@penghuo penghuo added the PPL label May 26, 2020
Copy link
Member

@dai-chen dai-chen left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

public ExpressionAnalyzer(
BuiltinFunctionRepository repository) {
this.repository = repository;
this.dsl = new DSL(repository);
Copy link
Member

Choose a reason for hiding this comment

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

Is the DSL bean useless in ExpressionConfig?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, it still been used.

@penghuo penghuo merged commit 9ac0819 into opendistro-for-elasticsearch:feature/ppl May 26, 2020
@penghuo penghuo deleted the feature/ppl-search-bug-fix branch May 26, 2020 21:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants