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

[Rename] refactor more of o.e.search package in the server module. #306

Merged
merged 1 commit into from
Mar 15, 2021
Merged

[Rename] refactor more of o.e.search package in the server module. #306

merged 1 commit into from
Mar 15, 2021

Conversation

adnapibar
Copy link
Contributor

@adnapibar adnapibar commented Mar 15, 2021

Relates #160

As part of this commit we refactor the following in the o.e.search package:

  • rename org.elasticsearch.search.internal to org.opensearch.search.internal
  • rename org.elasticsearch.search.fetch to org.opensearch.search.fetch
  • rename org.elasticsearch.search.profile to org.opensearch.search.profile
  • rename org.elasticsearch.search.query to org.opensearch.search.query
  • rename org.elasticsearch.search.suggest to org.opensearch.search.suggest
  • rename other instances of Elasticsearch to OpenSearch.

Signed-off-by: Rabi Panda [email protected]

@adnapibar adnapibar added >FORK Related to the fork process Rename Renaming to OpenSearch labels Mar 15, 2021
@odfe-release-bot
Copy link

✅   DCO Check Passed

@odfe-release-bot
Copy link

❌   DCO Check Failed
Run ./dev-tools/signoff-check.sh remotes/origin/rename/opensearch dbe75124b07ff0f94c98d98de1e0a9685f47fae9 to check locally
Use git commit with -s to add 'Signed-of-by: {EMAIL}' on impacted commits

Copy link
Collaborator

@tlfeng tlfeng left a comment

Choose a reason for hiding this comment

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

A pleasant PR with purely class path change. 🥳


import java.io.IOException;
import java.util.Locale;
import java.util.Objects;
import java.util.function.Consumer;

public final class DirectCandidateGeneratorBuilder implements CandidateGenerator {
public final class DirectCandidateGeneratorBuilder implements PhraseSuggestionBuilder.CandidateGenerator {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor: Seems an unexpected change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved, thanks!

As part of this commit we refactor the following in the o.e.search package:

- rename `org.elasticsearch.search.fetch` to `org.opensearch.search.fetch`
- rename `org.elasticsearch.search.internal` to `org.opensearch.search.internal`
- rename `org.elasticsearch.search.profile` to `org.opensearch.search.profile`
- rename `org.elasticsearch.search.query` to `org.opensearch.search.query`
- rename `org.elasticsearch.search.suggest` to `org.opensearch.search.suggest`
- rename other instances of Elasticsearch to OpenSearch in these packages.

Signed-off-by: Rabi Panda <[email protected]>
@odfe-release-bot
Copy link

✅   DCO Check Passed

@adnapibar adnapibar merged commit 3a7c8a3 into opensearch-project:rename/opensearch Mar 15, 2021
@adnapibar adnapibar deleted the rename/server/search2 branch March 15, 2021 23:41
nknize pushed a commit that referenced this pull request Mar 20, 2021
)

As part of this commit we refactor the following in the o.e.search package:

- rename `org.elasticsearch.search.fetch` to `org.opensearch.search.fetch`
- rename `org.elasticsearch.search.internal` to `org.opensearch.search.internal`
- rename `org.elasticsearch.search.profile` to `org.opensearch.search.profile`
- rename `org.elasticsearch.search.query` to `org.opensearch.search.query`
- rename `org.elasticsearch.search.suggest` to `org.opensearch.search.suggest`
- rename other instances of Elasticsearch to OpenSearch in these packages.

Signed-off-by: Rabi Panda <[email protected]>
nknize pushed a commit that referenced this pull request Mar 22, 2021
)

As part of this commit we refactor the following in the o.e.search package:

- rename `org.elasticsearch.search.fetch` to `org.opensearch.search.fetch`
- rename `org.elasticsearch.search.internal` to `org.opensearch.search.internal`
- rename `org.elasticsearch.search.profile` to `org.opensearch.search.profile`
- rename `org.elasticsearch.search.query` to `org.opensearch.search.query`
- rename `org.elasticsearch.search.suggest` to `org.opensearch.search.suggest`
- rename other instances of Elasticsearch to OpenSearch in these packages.

Signed-off-by: Rabi Panda <[email protected]>
ritty27 pushed a commit to ritty27/OpenSearch that referenced this pull request May 12, 2024
…oject#306)

* make ChildrenAggregate as a SingleBucketAggregate

Signed-off-by: Siva <[email protected]>

* update CHANGELOG.md

Signed-off-by: Siva <[email protected]>

* add ChildAggregation test

Signed-off-by: Siva <[email protected]>

* fix CheckStyle violations for ChildAggregation test

Signed-off-by: Siva <[email protected]>

Signed-off-by: Siva <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>FORK Related to the fork process Rename Renaming to OpenSearch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants