Commit Graph
200 Commits
Author SHA1 Message Date
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
kolchfa-aws 7aa5f40d04 Adds warning to Java high-level REST client (#2557)
Signed-off-by: Fanit Kolchina <[email protected]>
2023-02-02 20:28:00 -05:00
kolchfa-aws b593ca8eed Adds .net client API documentation link (#2513)
Signed-off-by: Fanit Kolchina <[email protected]>
2023-01-30 11:50:42 -05:00
Naarcha-AWS 5bbeac2357 Fix links for 2.5 doc changes. (#2465)
* Fix links for 2.5 doc changes.

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

* Add CLI redirect

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

Signed-off-by: Naarcha-AWS <[email protected]>
2023-01-24 12:12:21 -06:00
kolchfa-aws bf0c4f8aad Adds generated documentation to clients (#2458)
* Adds generated documentation to clients

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

* Reworded as per doc review

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

Signed-off-by: Fanit Kolchina <[email protected]>
2023-01-24 11:43:08 -05:00
kolchfa-aws c25ff903a1 Adds Rust client documentation (#2342)
* Adds Rust client documentation

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

* Added copy buttons and refactored more clients

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

* Incorporated doc review comments

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

* Incorporated doc review feedback

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

* One more fix - indexes

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

* Incorporated editorial comments

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

Signed-off-by: Fanit Kolchina <[email protected]>
2023-01-10 13:49:15 -05:00
Or Bin 10fb6ad585 Typo fix (#2307) 2023-01-04 14:22:11 -06:00
kolchfa-awsandNate Bower a10f13d21b Adds high-level Python client documentation (#2141)
* Adds high-level Python client documentation

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

* Adds bulk operations and document class

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

* Incorporated review feedback

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

* Apply suggestions from code review

Co-authored-by: Nate Bower <[email protected]>

* Update python-high-level.md

Signed-off-by: Fanit Kolchina <[email protected]>
Co-authored-by: Nate Bower <[email protected]>
2022-12-19 13:06:04 -05:00
Naarcha-AWS 14cceb8390 Add opensearch-py-ml title (#2149)
* Add opensearch-py-ml documentation

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

* Add more review feedback

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

* Add final tech review feedback

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

* Remove eland link

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

* Add Chris' feedback, add correct link to DataFrames

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

* Add editorial review and additional feedback.

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

* Add additional feedback

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

* Remove S from sentence transformers

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

* Fix typo

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

* Add title to opensearch page

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

Signed-off-by: Naarcha-AWS <[email protected]>
2022-12-07 13:20:36 -06:00
Naarcha-AWSandNate Bower 0e7d5e89e8 Add opensearch-py-ml documentation (#2071)
* Add opensearch-py-ml documentation

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

* Add more review feedback

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

* Add final tech review feedback

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

* Remove eland link

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

* Add Chris' feedback, add correct link to DataFrames

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

* Add editorial review and additional feedback.

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

* Add additional feedback

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

* Remove S from sentence transformers

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

* Update _clients/opensearch-py-ml.md

Co-authored-by: Nate Bower <[email protected]>

* Update _clients/opensearch-py-ml.md

Co-authored-by: Nate Bower <[email protected]>

* Fix last typo

Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Nate Bower <[email protected]>
2022-12-07 12:29:02 -06:00
Theo Nam Truongandkolchfa-aws dc09ea070d Added doc for Ruby Sigv4 (#2089)
* Added doc for Ruby Sigv4

Signed-off-by: Theo Truong <[email protected]>

* Update _clients/ruby.md

Style update

Co-authored-by: kolchfa-aws <[email protected]>

Signed-off-by: Theo Truong <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]>
2022-12-05 13:16:34 -05:00
kolchfa-aws 63019c421d Puts column headers in sentence case (#1989)
Signed-off-by: Fanit Kolchina <[email protected]>

Signed-off-by: Fanit Kolchina <[email protected]>
2022-11-18 15:25:06 -05:00
Naarcha-AWS 4d6a275950 Rework Clients, Tools, and Data Prepper section (#1794)
* Rework Clients, Tools, and Data Prepper section

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

* Add new Data Prepper files

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

Signed-off-by: Naarcha-AWS <[email protected]>
2022-11-07 12:41:10 -06:00