Skip to content

Commit

Permalink
Add opensearch 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkamel committed Jan 19, 2024
1 parent 5d32467 commit 6376cc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
env:
discovery.type: single-node
xpack.security.enabled: false
- image: opensearchproject/opensearch:1.3.14
env:
discovery.type: single-node
plugins.security.disabled: true
- image: opensearchproject/opensearch:2.11.1
env:
discovery.type: single-node
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
Using SearchFlip it is dead-simple to create index classes that correspond to
[Elasticsearch](https://www.elastic.co/) indices and to manipulate, query and
aggregate these indices using a chainable, concise, yet powerful DSL. Finally,
SearchFlip supports Elasticsearch 2.x, 5.x, 6.x, 7.x and 8.x. Check section
[Feature Support](#feature-support) for version dependent features.
SearchFlip supports Elasticsearch 2.x, 5.x, 6.x, 7.x and 8.x as well as
Opensearch 1.x and 2.x. Check section [Feature Support](#feature-support) for
version dependent features.

```ruby
CommentIndex.search("hello world", default_field: "title").where(visible: true).aggregate(:user_id).sort(id: "desc")
Expand Down

0 comments on commit 6376cc6

Please sign in to comment.