-
- Enter a query in
-
-
- OpenSearch Query DSL
-
-
-
- (opens in a new tab or window)
-
-
- . Use the
-
-
-
- %SearchText%
-
-
-
- variable to refer
- to the text in the search bar. When you enter
-
-
- Search
-
-
- , the queries are sent to the search
- engine using the
-
-
-
- GET
-
-
-
- HTTP method and the
-
-
-
- _search
-
-
-
- endpoint.
-
-
- - 1. Enter the search text in the search bar. - -
-- - 2. Select an index for - - - Query 1 - - - and enter a query. - -
-
-
- The following example searches the
-
-
-
- speaker
-
-
-
- and
-
-
-
- text_entry
-
-
-
- fields of the
-
-
-
-
- shakespeare
-
-
-
- index for the search text:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - 3. Select an index for - - - Query 2 - - - and enter a query. - -
-
-
- You can see how boosting a field affects the results. The following
- query boosts the
-
-
-
- speaker
-
-
-
- field:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - To learn more about boosts, see the - - - Multi-match Query Documentation - - - - (opens in a new tab or window) - - - . - -
-- - 4. Compare results - -
-- - Select - - - Search - - - and compare the results in Results 1 and Results 2. - -
-
-
- Enter a query in
-
-
- OpenSearch Query DSL
-
-
-
- (opens in a new tab or window)
-
-
- . Use the
-
-
-
- %SearchText%
-
-
-
- variable to refer
- to the text in the search bar. When you enter
-
-
- Search
-
-
- , the queries are sent to the search
- engine using the
-
-
-
- GET
-
-
-
- HTTP method and the
-
-
-
- _search
-
-
-
- endpoint.
-
-
- - 1. Enter the search text in the search bar. - -
-- - 2. Select an index for - - - Query 1 - - - and enter a query. - -
-
-
- The following example searches the
-
-
-
- speaker
-
-
-
- and
-
-
-
- text_entry
-
-
-
- fields of the
-
-
-
-
- shakespeare
-
-
-
- index for the search text:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - 3. Select an index for - - - Query 2 - - - and enter a query. - -
-
-
- You can see how boosting a field affects the results. The following
- query boosts the
-
-
-
- speaker
-
-
-
- field:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - To learn more about boosts, see the - - - Multi-match Query Documentation - - - - (opens in a new tab or window) - - - . - -
-- - 4. Compare results - -
-- - Select - - - Search - - - and compare the results in Results 1 and Results 2. - -
-
-
- Enter a query in
-
-
- OpenSearch Query DSL
-
-
-
- (opens in a new tab or window)
-
-
- . Use the
-
-
-
- %SearchText%
-
-
-
- variable to refer
- to the text in the search bar. When you enter
-
-
- Search
-
-
- , the queries are sent to the search
- engine using the
-
-
-
- GET
-
-
-
- HTTP method and the
-
-
-
- _search
-
-
-
- endpoint.
-
-
- - 1. Enter the search text in the search bar. - -
-- - 2. Select an index for - - - Query 1 - - - and enter a query. - -
-
-
- The following example searches the
-
-
-
- speaker
-
-
-
- and
-
-
-
- text_entry
-
-
-
- fields of the
-
-
-
-
- shakespeare
-
-
-
- index for the search text:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - 3. Select an index for - - - Query 2 - - - and enter a query. - -
-
-
- You can see how boosting a field affects the results. The following
- query boosts the
-
-
-
- speaker
-
-
-
- field:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - To learn more about boosts, see the - - - Multi-match Query Documentation - - - - (opens in a new tab or window) - - - . - -
-- - 4. Compare results - -
-- - Select - - - Search - - - and compare the results in Results 1 and Results 2. - -
-
-
- Enter a query in
-
-
- OpenSearch Query DSL
-
-
-
- (opens in a new tab or window)
-
-
- . Use the
-
-
-
- %SearchText%
-
-
-
- variable to refer
- to the text in the search bar. When you enter
-
-
- Search
-
-
- , the queries are sent to the search
- engine using the
-
-
-
- GET
-
-
-
- HTTP method and the
-
-
-
- _search
-
-
-
- endpoint.
-
-
- - 1. Enter the search text in the search bar. - -
-- - 2. Select an index for - - - Query 1 - - - and enter a query. - -
-
-
- The following example searches the
-
-
-
- speaker
-
-
-
- and
-
-
-
- text_entry
-
-
-
- fields of the
-
-
-
-
- shakespeare
-
-
-
- index for the search text:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - 3. Select an index for - - - Query 2 - - - and enter a query. - -
-
-
- You can see how boosting a field affects the results. The following
- query boosts the
-
-
-
- speaker
-
-
-
- field:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - To learn more about boosts, see the - - - Multi-match Query Documentation - - - - (opens in a new tab or window) - - - . - -
-- - 4. Compare results - -
-- - Select - - - Search - - - and compare the results in Results 1 and Results 2. - -
-
-
- Enter a query in
-
-
- OpenSearch Query DSL
-
-
-
- (opens in a new tab or window)
-
-
- . Use the
-
-
-
- %SearchText%
-
-
-
- variable to refer
- to the text in the search bar. When you enter
-
-
- Search
-
-
- , the queries are sent to the search
- engine using the
-
-
-
- GET
-
-
-
- HTTP method and the
-
-
-
- _search
-
-
-
- endpoint.
-
-
- - 1. Enter the search text in the search bar. - -
-- - 2. Select an index for - - - Query 1 - - - and enter a query. - -
-
-
- The following example searches the
-
-
-
- speaker
-
-
-
- and
-
-
-
- text_entry
-
-
-
- fields of the
-
-
-
-
- shakespeare
-
-
-
- index for the search text:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - 3. Select an index for - - - Query 2 - - - and enter a query. - -
-
-
- You can see how boosting a field affects the results. The following
- query boosts the
-
-
-
- speaker
-
-
-
- field:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- - - To learn more about boosts, see the - - - Multi-match Query Documentation - - - - (opens in a new tab or window) - - - . - -
-- - 4. Compare results - -
-- - Select - - - Search - - - and compare the results in Results 1 and Results 2. - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-
-