Skip to content
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

[OAK-10953] #1646

Open
wants to merge 4 commits into
base: trunk
Choose a base branch
from
Open

[OAK-10953] #1646

wants to merge 4 commits into from

Conversation

alagodasii
Copy link

Substitute Elastiknn plugin with native inn query provided by Elasticsearch.

@alagodasii alagodasii force-pushed the OAK-10953 branch 3 times, most recently from caf2331 to 870f64c Compare August 22, 2024 14:16
String propertyPath = PathUtils.getParentPath(pd.name);
String propertyName = PathUtils.getName(pd.name);
NodeState tempState = targetNodeState;
for (String token : PathUtils.elements(propertyPath)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could breaking on an empty token break anything? Does it always leave tempState in a desirable state?

Copy link
Author

Choose a reason for hiding this comment

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

It's hard to tell myself. This part existed in the previous implementation.

Copy link
Contributor

@fabriziofortino fabriziofortino left a comment

Choose a reason for hiding this comment

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

Good job! Just a minor.

The failing test in oak-search-elastic is not related to this changes. It's a flaky test we should look at separately.

@alagodasii
Copy link
Author

Good job! Just a minor.

The failing test in oak-search-elastic is not related to this changes. It's a flaky test we should look at separately.

Thanks for confirmation. I observed no problem with it on the local environment, so that was my guess. I'll have a look at it closer, because otherwise we might easily forget about it.

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.

4 participants