Commit Graph
212 Commits
Author SHA1 Message Date
6af66500eb Remove admin:admin default and update instructions for demo setup (#5887)
* Update some admin:admin references

Signed-off-by: Derek Ho <[email protected]>

* Update all references except for helm

Signed-off-by: Derek Ho <[email protected]>

* Update helm

Signed-off-by: Derek Ho <[email protected]>

* Reverts changes made to _install-and-configure folder

Signed-off-by: Darshit Chanpura <[email protected]>

* Apply suggestions from code review

Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Derek Ho <[email protected]>

* Update _about/quickstart.md

Signed-off-by: Naarcha-AWS <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Update quickstart.md

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Darshit Chanpura <[email protected]>
Co-authored-by: Darshit Chanpura <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
2024-02-01 11:01:58 -08:00
kolchfa-aws 699cb9ac20 Change navigation for index pages of collections (#6039)
Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
2024-01-04 14:55:05 -05:00
b0f79935e7 docs: example aws lambda code to initialize client (#5203)
* docs: example aws lambda code to initialize client

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

* Doc review comments

Signed-off-by: Fanit Kolchina <[email protected]>

* Update _clients/javascript/index.md

Signed-off-by: kolchfa-aws <[email protected]>

* Update _clients/javascript/index.md

Signed-off-by: kolchfa-aws <[email protected]>

---------

Signed-off-by: arnabrahman <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: kolchfa-aws <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
Co-authored-by: Fanit Kolchina <[email protected]>
2023-12-20 13:10:58 -05:00
kolchfa-aws cba6739038 Add client compatibility (#4126)
* Add client compatibility

Signed-off-by: Fanit Kolchina <[email protected]>

* Add note for legacy clients

Signed-off-by: Fanit Kolchina <[email protected]>

* Implemented tech review feedback

Signed-off-by: Fanit Kolchina <[email protected]>

---------

Signed-off-by: Fanit Kolchina <[email protected]>
2023-12-15 16:44:56 -05:00
b20a2d8463 fix java client sample error. (#5504)
* fix java client sample error.

* Revert "fix java client sample error."

* fix java sample error.

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

---------

Signed-off-by: weinan_gao <[email protected]>
Co-authored-by: weinan_gao <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
2023-11-28 16:16:00 -06:00
Taeik Lim 0ab38b0dda [DOC] Dump up java client version (2.6.0 -> 2.8.1) (#5644)
Signed-off-by: Taeik Lim <[email protected]>
2023-11-21 12:58:38 -06:00
kyeoneeeandNaarcha-AWS e28942d1c1 [Fix typo] Fix typo on java.md sample code (#5567)
Fix typo on java.md sample code

Signed-off-by: kyeoneee <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
2023-11-14 11:14:51 -06:00
Gautam MishraandNaarcha-AWS 07762305f5 Add httpclient5 dependency (#5377)
Add httpclient5 dependency to use Apache HttpClient 5 Transport

Signed-off-by: Gautam Mishra <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
2023-11-08 15:34:52 -06:00
Samuel Valdes Gutierrez bd14c328b6 Fixing error in java client documentation for creating indexes (#5354)
Signed-off-by: Samuel Valdes Gutierrez <[email protected]>
2023-10-26 14:17:00 -05:00
Heather Halter e907d90fcc Update java-rest-high-level.md (#4880)
Updated text as per #4844

Signed-off-by: Heather Halter <[email protected]>
2023-08-24 16:43:14 -07:00
Vacha Shah 476e2d6422 Correcting the java client code snippets and updating java client version (#4789)
Signed-off-by: Vacha Shah <[email protected]>
2023-08-15 16:00:32 -04:00
Will Li e826465046 remove redundant space (#4664)
Signed-off-by: Will Li <[email protected]>
2023-08-02 13:19:54 -04:00
David Alpert (Next League) ca40c6191c demonstrate fluent queries to exclude fields with empty values (#4579)
a `TermQuery` with an empty string `Value` is considered by the .NET client to be "conditionless" and is removed from the search request body by default.

for those times that you want to use a `TermQuery` with an empty string `Value` (e.g. show me all documents with a non-empty last_name property) you need to use the `.Verbatim()` method to tell the client library to include the `TermQuery` as written even though it is considered to be "conditionless".

in other words, while a "conditionless" query may not make sense in the positive it can make sense in the negative

```
GET /my-index/_search
{
     "query": {
        "bool": {
          "must": [{
            "exists": { "field": "last_name"}
          }],
          "must_not": [{
            "term": {"last_name.keyword": { "value": "" }}
          }]
        }
      },
}
```

Signed-off-by: David Alpert (Next League) <[email protected]>
2023-07-18 10:08:56 -07:00
kolchfa-aws 9209c0a6bc Fix links for link checker (#4309)
Signed-off-by: Fanit Kolchina <[email protected]>
2023-06-13 15:06:50 -04:00
Heather Halterandkolchfa-aws 09aa024b55 Update version and add link to examples - Javascript client (#4224)
* addlinktoguides

Signed-off-by: Heather Halter <[email protected]>

* addslinktohelperfile

Signed-off-by: Heather Halter <[email protected]>

* addedlinktohelper

Signed-off-by: Heather Halter <[email protected]>

* Update _clients/javascript/index.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _clients/javascript/helpers.md

Co-authored-by: kolchfa-aws <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

---------

Signed-off-by: Heather Halter <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
2023-06-06 15:50:47 -07:00
Andriy Redko 3ff62a8a6c Fix RestClientTransport code snippets (#4149)
Signed-off-by: Andriy Redko <[email protected]>
2023-05-23 12:49:19 -04:00
Bob Kinney c8b0929fb6 Add notice about pre-release (#3428)
Adding notice to docs per suggestion in https://github.com/opensearch-project/opensearch-net/issues/166
2023-05-17 12:56:24 -05:00
Heather HalterandNaarcha-AWS ee7d1efd02 More redirects and spelling fixes (#4093)
* redirects and spelling

Signed-off-by: Heather Halter <[email protected]>

* Update _observing-your-data/ad/index.md

Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _observing-your-data/ad/index.md

Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

* Update _search-plugins/knn/index.md

Co-authored-by: Naarcha-AWS <[email protected]>
Signed-off-by: Heather Halter <[email protected]>

---------

Signed-off-by: Heather Halter <[email protected]>
Signed-off-by: Heather Halter <[email protected]>
Co-authored-by: Naarcha-AWS <[email protected]>
2023-05-17 09:57:14 -07:00
Heather Halter fa80af23e5 fixtypo (#4075)
Signed-off-by: Heather Halter <[email protected]>
2023-05-15 11:23:23 -05:00
astephanusandFanit Kolchina 1fb5252cd6 Adds collections landing page configuration and navigation header linking (#3812)
* Adds collections landing page configuration and navigation header linking

Signed-off-by: Aaron Stephanus <[email protected]>

* Removes unnecessary collection property from the configuration.

Signed-off-by: Aaron Stephanus <[email protected]>

* Adds links to navigation collection headers to collection index pages based on the collection name

Signed-off-by: Aaron Stephanus <[email protected]>

* Hide index pages from view and add info to formatting guide

Signed-off-by: Fanit Kolchina <[email protected]>

---------

Signed-off-by: Aaron Stephanus <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>
Co-authored-by: Fanit Kolchina <[email protected]>
2023-05-11 13:56:08 -04:00
kolchfa-aws e9db6d6043 Small fixes and redirects (#4002)
Signed-off-by: Fanit Kolchina <[email protected]>
2023-05-04 17:47:17 -04:00
kolchfa-aws 8463c8f278 Correct plugin capitalization (#3838)
* Correct plugin capitalization

Signed-off-by: Fanit Kolchina <[email protected]>

* Revert cluster-stats because the name is in response

Signed-off-by: Fanit Kolchina <[email protected]>

* Revert cluster-stats once more

Signed-off-by: Fanit Kolchina <[email protected]>

---------

Signed-off-by: Fanit Kolchina <[email protected]>
2023-05-04 11:11:54 -04:00
Vacha Shah 9a3e49a2f2 Update java client version (#3753)
Signed-off-by: Vacha Shah <[email protected]>
2023-04-11 17:09:42 -04:00
Daniel (dB.) Doubrovkine 680c821937 Add CI with link checker. (#3584)
* Add CI with link checker.

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

* Capture URI::InvalidURIError.

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

* Use HEAD and catch URI errors.

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

* Retry on a 405 with a GET.

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

* Replaced external link checker with ruby-link-checker.

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

* Don't exit with an exception.

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

* Run internal link checker on build/ci.

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

* Added broken links issue template.

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

* Added host exclusions that 404 or fail on bots.

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

* Raise anyway because Jekyll does it for us.

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

* Fix broken links.

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

* Only run link checker on main.

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

* Re-add check-links.sh.

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

* Run once a day on cron.

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

---------

Signed-off-by: dblock <[email protected]>
2023-04-04 15:49:27 -04:00
Andriy Redko 4e58f94861 Update OpenSearch Java Client documentation: update version, add ApacheHttpClient5Transport, fix code samples (#3510)
* Update OpenSearch Java Client documentation: update version, add ApacheHttpClient5Transport, fix code samples

Signed-off-by: Andriy Redko <[email protected]>

* Address review comments

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: Andriy Redko <[email protected]>
2023-03-21 11:01:17 -05:00
Harsha Vamsi Kalluri 7fb9e5b848 Addd examples on how to connect with Sigv4 for AOS and AOSS (#3250)
* Addd examples on how to connect with Sigv4 for AOS and AOSS

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Changed some grammar

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Changed more grammar

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

---------

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
2023-03-09 09:47:18 -05:00
kolchfa-aws 921979064f Add deprecation warning to high-level python client (#3007)
Signed-off-by: Fanit Kolchina <[email protected]>
2023-02-21 11:45:06 -05:00
sheltie 94e11ab14d Add response close go client (#2828)
* I think response need to close.
The "Go package documentation" calls the Close method.
https://pkg.go.dev/github.com/opensearch-project/opensearch-go#NewClient

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

* delete defer

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

* Revert "delete defer"

This reverts commit 6852b1c67cdde37c97640f05340354ea51b29fb9.

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

---------

Signed-off-by: sheltie <[email protected]>
2023-02-20 11:47:13 -05:00
kolchfa-aws 4140289357 Refactors the clients index page (#2555)
* Refactors the clients index page

Signed-off-by: Fanit Kolchina <[email protected]>

* Changed C# to .NET

Signed-off-by: Fanit Kolchina <[email protected]>

---------

Signed-off-by: Fanit Kolchina <[email protected]>
2023-02-07 15:41:38 -05:00
Nick Baughman 901bc63959 Replace IndexRequest.Builder.value() call with call to .document() to reflect current state of API (#2658)
Please double-check that this is correct. I'm using `org.opensearch.client:opensearch-java:2.2.0` and `org.opensearch.client:opensearch-rest-client:2.5.0` to try to create a client as per the docs. I noticed that the call to `IndexRequest.Builder.value()` does not work. I believe the correct method name is ``IndexRequest.Builder.document()`
2023-02-07 14:08:03 -05:00