Skip to content

Commit c90b30b

Browse files
author
Richard Smith
authored
Update README.md
1 parent e456f01 commit c90b30b

File tree

1 file changed

+7
-29
lines changed

1 file changed

+7
-29
lines changed

README.md

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,35 +18,13 @@ the ability to search for keywords across all properties with more complex queri
1818

1919
### Examples
2020

21-
#### Free-text query against all properties
22-
23-
`/search?q=sentinel`
24-
25-
This will search for any matching items where `properties.*` CONTAINS `sentinel`
26-
27-
#### Free-text query against specific property
28-
29-
`/search?q=sat:orbit_state:ascending`
30-
31-
This will search for any matching items where `properties.sat:obit_state` CONTAINS `ascending`
32-
33-
#### Free-text search using exact
34-
35-
`/search?q=climate model`
36-
37-
This will search for any matching items where `properties.*` CONTAINS the exact phrase `"climate model"`
38-
39-
#### Free-text search using operators
40-
41-
By default, query strings which are made of multiple strings are searched using and `OR` relationship
42-
43-
`/search?q=climate model`
44-
45-
This will search for any matching items where `properties.*` CONTAINS `climate` OR `model`
46-
47-
`/search?q=climate & model`
48-
49-
This will search for any matching items where `properties.*` CONTAINS `climate` AND `model`
21+
| URL Example | Summary | Detail |
22+
| ----------- | ------- | ------ |
23+
| `/search?q=sentinel` | Free-text query against all properties | This will search for any matching items where `properties.*` CONTAINS `sentinel` |
24+
| `/search?q=sat:orbit_state:ascending` | Free-text query against specific property | This will search for any matching items where `properties.sat:obit_state` CONTAINS `ascending` |
25+
| `/search?q=climate model` | Free-text search using exact | This will search for any matching items where `properties.*` CONTAINS the exact phrase `"climate model"` |
26+
|`/search?q=climate model`| Using `OR` term match (**Default**) | This will search for any matching items where `properties.*` CONTAINS `climate` OR `model`|
27+
|`/search?q=climate+model`| Using `AND` term match | This will search for any matching items where `properties.*` CONTAINS `climate` AND `model`|
5028

5129
## HTTP POST
5230

0 commit comments

Comments
 (0)