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

Es opensearch #880

Merged
merged 43 commits into from
May 17, 2023
Merged

Es opensearch #880

merged 43 commits into from
May 17, 2023

Conversation

michelson
Copy link
Member

No description provided.

predicates&.filter { |o| o[:clause] == clause }&.map { |o| o[:fragment] }&.flatten || []
end

def nested_preds_group(clause, attributes)
Copy link

Choose a reason for hiding this comment

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

Method nested_preds_group has 52 lines of code (exceeds 50 allowed). Consider refactoring.

}
end

def es_search(page = nil, per = nil)
Copy link

Choose a reason for hiding this comment

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

Method es_search has 73 lines of code (exceeds 50 allowed). Consider refactoring.

merge_mappings: true,
mappings: {
properties: {
custom_attributes: {
Copy link

Choose a reason for hiding this comment

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

Similar blocks of code found in 2 locations. Consider refactoring.

}
}
},
external_profiles: {
Copy link

Choose a reason for hiding this comment

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

Similar blocks of code found in 2 locations. Consider refactoring.

@CLAassistant
Copy link

CLAassistant commented May 12, 2023

CLA assistant check
All committers have signed the CLA.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 11449 lines exceeds the maximum allowed for the inline comments feature.

@codeclimate
Copy link

codeclimate bot commented May 12, 2023

Code Climate has analyzed commit 177219a and detected 58 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 15
Duplication 43

View more on Code Climate.

@michelson michelson changed the base branch from master to main May 12, 2023 04:12
@michelson michelson merged commit d25a5bf into main May 17, 2023
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