-
Notifications
You must be signed in to change notification settings - Fork 1k
Migrate to OpenSearch #16180
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
Migrate to OpenSearch #16180
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
99d55c9
use opensearch container locally, to match production index
ewdurbin 04f7aec
migrate to opensearchpy
ewdurbin 58b2481
rename os -> opensearch, no need to save keystrokes
ewdurbin 4585278
Rename wrapper/page
ewdurbin b8156da
rename env var
ewdurbin 39da688
update docs
ewdurbin 69f9ab1
remove refs to dead deps
ewdurbin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM opensearchproject/opensearch:2.12.0 | ||
|
||
RUN opensearch-plugin remove opensearch-skills --purge | ||
RUN opensearch-plugin remove opensearch-ml --purge | ||
RUN opensearch-plugin remove opensearch-neural-search --purge | ||
RUN opensearch-plugin remove opensearch-performance-analyzer --purge | ||
RUN opensearch-plugin remove opensearch-security-analytics --purge | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,11 +44,20 @@ services: | |
ports: | ||
- "4566:4566" | ||
|
||
elasticsearch: | ||
image: elasticsearch:7.10.1 | ||
opensearch: | ||
build: | ||
context: ./dev/compose/opensearch | ||
init: true | ||
healthcheck: | ||
test: ["CMD-SHELL", "curl -u admin:gqYeDIzbEwTTYmB7 --silent --fail http://localhost:9200/_cluster/health || exit 1"] | ||
interval: 1s | ||
start_period: 10s | ||
environment: | ||
- xpack.security.enabled=false | ||
- discovery.type=single-node | ||
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=gqYeDIzbEwTTYmB7 | ||
- DISABLE_INSTALL_DEMO_CONFIG=true | ||
- DISABLE_SECURITY_PLUGIN=true | ||
- DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI=true | ||
Comment on lines
+58
to
+60
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This culls a bunch of pointless plugins (for local dev) that just slow startup times down a ton. |
||
ulimits: | ||
nofile: | ||
soft: 65536 | ||
|
@@ -109,7 +118,7 @@ services: | |
depends_on: | ||
db: | ||
condition: service_healthy | ||
elasticsearch: | ||
opensearch: | ||
condition: service_started | ||
redis: | ||
condition: service_started | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This culls a bunch of pointless plugins (for local dev) that just slow startup times down a ton.