From a231956a0f5f8a450c320eda7207a9e1ffa030bd Mon Sep 17 00:00:00 2001
From: Nicholas Ung
- Enter a query in
-
-
- OpenSearch Query DSL
-
-
- (opens in a new tab or window)
-
-
- . Use the
-
-
- 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
-
-
- 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
-
-
+ 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
- {
+
- 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
-
-
- 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
-
-
- 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
-
+
+ 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
+
+
- 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
-
-
- 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
-
+ 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
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
+ %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
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
+ 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
+
-
-
-
-
-
- 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
-
-
- 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
-
-
- 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
-
-
- 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
-
-
- 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
-
-
- 1. Enter the search text in the search bar.
-
- 2. Select an index for
+ 3. Select an index for
- Query 1
+ Query 2
and enter a query.
- The following example searches the
+ You can see how boosting a field affects the results. The following
+ query boosts the
@@ -2986,28 +1274,7 @@ exports[`Flyout component Renders flyout component 1`] = `
speaker
- and
-
-
-
- 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:
+ (opens in a new tab or window)
+
+
+ .
+
+
+ 4. Compare results
+
+ Select
+
+ Search
+
+ and compare the results in Results 1 and Results 2.
+ 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
+
+
+ 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
+
+
+ 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.
+
- 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
-
-
+ Enter a query in
+
+ OpenSearch Query DSL
-
- 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
-
+ 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
+
- shakespeare
-
-
-
-
- index for the search text:
-
+ 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
+
+
+ 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.
+
+ 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
+
+
+ 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
+
+
+ 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.
+
+
- 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
-
+
+
+
+
+
+
- To learn more about boosts, see the
-
-
+
+
- 4. Compare results
-
- Select
-
- Search
-
- and compare the results in Results 1 and Results 2.
-
- Compare results using the same search text with different queries.
-
-
+
- Enter a query in{' '}
- 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
+
- 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
-
- To learn more about boosts, see the{' '}
-
+ 4. Compare results
- Select Search and compare the results in Results 1 and Results 2.
+
- Compare results using the same search text with different queries.{' '}
-
- Compare results using the same search text with different queries.
-
-
- Before you can query data, you need to index it.
-
-
+ Before you can query data, you need to index it.
+
+
- Help
-
-
+ Help
+
+
- Query format
-
-
- %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.
-
- Example
-
-
-
- speaker
-
-
- and
-
-
-
- text_entry
-
-
- fields of the
-
-
- shakespeare
-
-
- index for the search text:
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- speaker
-
-
- field:
-
-
-
-
-
-
-
-
+
+ (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
- "query"
+
+ GET
+
+ HTTP method and the
- :
+
+ _search
+
-
+ endpoint.
+
+
+ Example
+
+
+
+ speaker
+
-
-
-
+ text_entry
+
+ fields of the
+
- :
+
+ shakespeare
+
-
-
+
- {
-
-
+
-
+
+
-
-
+
+
+
+
+ {
+
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
- }
-
-
+
+
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
-
-
-
-
- }
-
-
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- Help
-
-
- Query format
-
-
- %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.
-
- Example
-
-
-
- speaker
-
-
- and
-
-
-
- text_entry
-
-
- fields of the
-
-
- shakespeare
-
-
- index for the search text:
-
-
+
+
+
+
+
+
+
+
+
+
-
-
+ "fields"
-
-
- {
-
-
-
+ :
+
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
+ [
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
+ "speaker"
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
+ ,
+
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
+ "text_entry"
-
-
- }
-
-
-
+ ]
+
+
+
+
+
-
-
- }
-
-
-
+ }
+
+
+
+
+
-
-
- }
-
-
-
+ }
+
+
+
+
+
-
+ }
-
-
-
- field:
-
- speaker
-
-
-
-
-
+
+
+
+
+
-
+ {
+
+
+
+
+
+
+ "query"
-
-
- {
-
-
-
+ :
+
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
+ {
+
+
+
+
+
+
+ "multi_match"
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
+ :
+
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
+ {
+
+
+
+
+
+
+ "query"
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
+ :
+
-
-
- }
-
-
-
+ "%SearchText%"
-
-
- }
-
-
+ ,
+
+
+
+
+
+
+ "fields"
-
-
- }
-
-
-
+ :
+
-
+ [
-
-
- Help
-
-
- Query format
-
-
- %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.
-
- Example
-
-
-
- speaker
-
+ }
+
+
+
- and
-
-
- text_entry
-
+ }
+
+
+
- fields of the
-
- shakespeare
-
+
- index for the search text:
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
+
+
+
+
+ Help
+
+
+ Query format
+
+
+ Example
+
+
+
- speaker
-
-
- field:
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- Help
-
-
- Query format
-
-
- %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.
-
- Example
-
-
-
- speaker
-
-
- and
-
-
-
- text_entry
-
-
- fields of the
-
-
- shakespeare
-
-
- index for the search text:
-
-
+ shakespeare
+
+
+ index for the search text:
+
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
- speaker
-
-
- field:
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
- "multi_match"
- :
+
+
+ {
+
+
+
-
- {
-
-
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
-
-
-
-
- "query"
- :
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
+
-
- "%SearchText%"
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
+
- ,
-
-
+
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
-
-
-
-
- "fields"
-
-
- :
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
+
+
+ }
+
+
+
- ]
-
-
-
-
-
-
- }
-
-
-
-
-
+
+ }
+
+
+
- }
-
-
+
+
+ }
+
+
-
-
-
+
- }
+
-
-
-
-
-
-
-
-
- Help
-
-
- Query format
-
-
- %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.
-
- Example
-
-
-
- text_entry
-
-
- fields of the
-
-
- shakespeare
-
-
- index for the search text:
+ field:
+ Help
+
+
-
+ Query format
+
+
+
+ Example
+
+
+
+ speaker
+
+
+ and
+
+
+ text_entry
+
+
+ fields of the
+
+
+
+ shakespeare
+
+
+ index for the search text:
+
+
+
-
- {
+
+
-
+
+
+
+ {
+
+
-
-
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
+
+
+
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
+
- "query"
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
+
- :
+
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
+
-
- {
-
-
+
+
+ }
+
+
-
-
-
+
- "multi_match"
+
+
+ }
+
+
+
- :
+
+
+ }
+
+
+
-
- {
+
-
-
-
-
+
+ speaker
+
+
+ field:
+
+
+
- :
+
+
-
- "%SearchText%"
+
+
+ {
+
+
+
- ,
-
-
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
-
-
-
-
- "fields"
- :
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
+
-
- [
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
+
- "speaker^3"
+
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker^3"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
+
- ,
+
+
+ }
+
+
+
-
- "text_entry"
+
+
+ }
+
+
+
- ]
-
-
+
+
+ }
+
+
-
-
-
-
- }
-
-
-
-
-
- }
+
-
-
-
-
+
- Help
-
-
- Query format
-
-
- %SearchText%
-
-
-
- GET
-
-
-
- _search
-
-
-
- Example
-
-
-
+ Search
+
+ , the queries are sent to the search
+ engine using the
+
- speaker
-
-
-
+ GET
+
+
+ HTTP method and the
+
- text_entry
-
-
-
+ _search
+
+
+ endpoint.
+
+ Example
+
+
+
+ speaker
+
+
+ and
+
+
+ text_entry
+
+
+ fields of the
+
+
+
+ shakespeare
+
+
+ index for the search text:
+
+
-
-
+
+
-
-
+
- {
+
+
+ {
+
+
+
-
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
-
-
+
+
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
+
- "query"
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
+
- :
+
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
+
-
- {
+
+
+ }
+
+
+
-
+
+
+
+ }
+
+
-
-
+
+
+
+ }
+
+
+
+
+
+
+
+
+
+
+ speaker
+
+
+ field:
+
+
+
+
+
+
+
+
+
+
+ {
+
+
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
+
+
- "multi_match"
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
+
- :
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
+
-
- {
+
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker^3"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
+
-
+
+
+
+ }
+
+
-
-
+
+
+
+ }
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+
+
+ Help
+
+
+ Query format
+
+
+
+ Example
+
+
+
- :
-
-
-
+
+ and
+
+
- [
-
-
+
+ fields of the
+
+
+
- "speaker"
-
-
+
+ index for the search text:
+
+
+
- ,
-
-
-
+
+
+
+
+
+
+ {
+
+
+
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
+
+
+
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
+
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
+
+
+
+
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+
+
- ]
-
-
-
+ speaker
+
-
+
+
+
+
+
+
+
+
+
+
+ {
+
+
+
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
+
+
+
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
+
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
+
+
+
+
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker^3"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+ }
+
-
- }
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ . Use the
+
+ %SearchText%
+
+
+
+ GET
+
+
+
+ _search
+
+
+
+
-
+
+
+
+ speaker
+
+
+
+ text_entry
+
+
+
+ shakespeare
+
+
+
+
+
-
-
+
+
+
+ {
+
+
+
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
+
+
+
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
+
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
+
+
+
+
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+
+ }
+
+
+
+
+
+
+ }
+
-
+
+
+
+
+ speaker
+
+
+
- ,
-
-
+
-
+
+
-
-
+
+
+
+ {
+
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
- }
-
-
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
-
-
-
-
- }
-
-
+
+
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
-
-
-
- }
-
-
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
-
-
-
-
+
-
- Learn more
-
+ Help
+
+
Query format
+
+
Example
+
+
- Compare search results
+
+
+
-
- Learn more
-
- Create an index to start comparing search results.
-
- }
- >
-
- Create an index to start comparing search results.
-
-
+ Create an index to start comparing search results.
+
+ }
+ >
+
+ Create an index to start comparing search results.
+
+
- Result 1
-
-
- 10
- results
-
-
-
-
+
+
+
+
-
+
+ Result 1
+
+
+
+
+
-
+
-
+
-
- 1
-
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 2
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 3
-
+
-
+
-
-
+
+
+
+
+
-
-
+
-
-
+
-
+
-
-
- 4
-
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 5
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 6
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 7
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 8
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 9
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 10
-
+
-
-
+
-
-
+
+
+
+
+
-
-
+
-
-
- Result 2
-
-
- 10
- results
-
-
-
-
+
+
+
+
-
+
+ Result 2
+
+
+
+
+
-
+
-
+
-
- 1
-
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 2
-
+
-
+
-
-
+
+
+
+
+
-
-
-
-
-
-
- 3
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
- 4
-
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 5
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 6
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 7
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
-
- 8
-
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 9
-
+
-
+
-
-
+
+
+
+
+
-
-
+
-
-
-
-
-
+
-
+
-
+
- 10
-
-
+ 9
+
+
+
-
- Not applicable
-
-
-
+
+
+
-
-
+
-
-
+
+
+
+
+
-
-
+
-
-
-
-
-
-
-
+
-
-
-
-
- 1
-
-
-
-
-
-
-
-
-
-
-
- 2
-
-
-
+
+
+
-
-
-
-
-
-
- 3
-
-
-
-
-
-
-
-
+
-
+
-
-
- 4
-
-
-
-
-
-
-
-
+
-
+
- 5
-
-
+
-
- Not applicable
-
-
-
+
-
+
-
-
+
+
+
+
+ Up
+ 7
+
+
-
-
+
-
-
-
-
-
+
-
+
-
+
- 6
-
-
+ 4
+
+
+
-
- Not applicable
-
-
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
-
- 7
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
- 8
-
-
-
- Not applicable
-
-
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
- 9
-
-
-
- Not applicable
-
-
-
+
-
+
-
-
+
+
+
+
+
-
-
-
+
-
+
+
-
- 10
-
+
+
+
+
+ 9
+
+
+
-
- Not applicable
-
-
-
+
-
+
-
-
+
+
+
+
+
-
-
+
-
-
-
-
- Result 1
-
-
- 10
- results
-
-
-
+ Result 1
+
+
+ 10
+ results
+
+
{_.toPairs(doc).map((entry: string[]) => {
return (
- <>
+
diff --git a/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_bar.test.tsx.snap b/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_bar.test.tsx.snap
index 1554d71..29c156b 100644
--- a/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_bar.test.tsx.snap
+++ b/public/components/query_compare/search_result/search_components/__tests__/__snapshots__/search_bar.test.tsx.snap
@@ -1,227 +1,318 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Search bar component Renders search bar component 1`] = `
-
+
-
- Enter a query in - - - OpenSearch Query DSL - - . Use %SearchText% to refer to the text in the search bar -
++ Enter a query in + + + OpenSearch Query DSL + + . Use %SearchText% to refer to the text in the search bar +
+- Enter a query in - - - OpenSearch Query DSL - - . Use %SearchText% to refer to the text in the search bar -
++ Enter a query in + + + OpenSearch Query DSL + + . Use %SearchText% to refer to the text in the search bar +
+- Enter a query in - - - OpenSearch Query DSL - - . Use %SearchText% to refer to the text in the search bar -
++ Enter a query in + + + OpenSearch Query DSL + + . Use %SearchText% to refer to the text in the search bar +
+
+
+ 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:
+
+
- Enter a query in
-
+
- OpenSearch Query DSL
-
+
+
+
+
+
- (opens in a new tab or window)
+ {
-
- . Use the
+
+
+
-
+ "query"
+
+
+ :
+
+
+
- %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
-
+ "multi_match"
+
+
+ :
+
+
+
- GET
-
+ {
+
+
+
- HTTP method and the
-
+ "query"
+
+
+ :
+
+
+
- _search
-
+ "%SearchText%"
+
+
+ ,
+
+
+
+
+
+
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
+
- 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:
-
-
-
-
+
+
+
+
+ + 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"
-
-
- :
-
-
-
- {
-
-
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
+
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
+
+
+
+
+ "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 + - - -
- 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:
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
+
+ (opens in a new tab or window)
+
+
+ . Use the
- "query"
+
+ %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.
-
-
+
+
+
+ Example
+
+
+
+
+
+ 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
- "multi_match"
+
+ speaker
+
+ and
- :
+
+ text_entry
+
-
+ fields of the
+
- {
+
+ shakespeare
+
-
-
+ index for the search text:
-
+
+
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
+
+
-
-
+
+
+
+
+ {
+
+
+
+
+
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
+
+ "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. + +
- 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 + + OpenSearch Query DSL + endpoint. -
-
+
+
+
+
+ 1. Enter the search text in the search bar. -
-+ +
++ 2. Select an index for - Query 1 + + Query 1 + and enter a query. -
-+ +
++ The following example searches the index for the search text: -
--+-+ + + + + + + ++ + + + + - + { + + + + + + + "query" - - - { - - - + : + - - - "query" - - - : - - - - { - - + { + + + + + + + "multi_match" - - - "multi_match" - - - : - - - - { - - - + : + - - - "query" - - - : - - - - "%SearchText%" - - - , - - + { + + + + + + + "query" - - - "fields" - - - : - - - - [ - - - "speaker" - - - , - - - - "text_entry" - - - ] - - - + : + - - - } - - + "%SearchText%" + + + , + + + + + + + "fields" + + + : + + + + [ + + + "speaker" + + + , + + + + "text_entry" + ] + + + + + + + - - - } - - - + } + + + + + - - - } - - - + } + + + + + - + } -
-
+
+ 3. Select an index for - Query 2 + + Query 2 + and enter a query. -
-+ +
++ You can see how boosting a field affects the results. The following query boosts the field: -
----+ + + + + - + { + + + + + + + "query" - - - { - - - + : + - - - "query" - - - : - - - - { - - + { + + + + + + + "multi_match" - - - "multi_match" - - - : - - - - { - - - + : + - - - "query" - - - : - - - - "%SearchText%" - - - , - - + { + + + + + + + "query" - - - "fields" - - - : - - - - [ - - - "speaker^3" - - - , - - - - "text_entry" - - - ] - - + : + + + + "%SearchText%" + + + , + + + + + + + "fields" - - - } - - - + : + - - - } - - - + [ - - - } - - - + "speaker^3" + , + + + + "text_entry" + + + ] + + + + + + + + } + + + + + + + } -
--++ + -+ + + + + + + + +- - + } -+-+ ++ + ++
+ To learn more about boosts, see the - Multi-match Query Documentation + + Multi-match Query Documentation + . -
-+ +
++ 4. Compare results -
-+ +
++ Select - Search + + Search + and compare the results in Results 1 and Results 2. -
-
+ + +
+ Enter a query in - OpenSearch Query DSL + + OpenSearch Query DSL + endpoint. -
-
+
+
+
+
+ 1. Enter the search text in the search bar. -
-+ +
++ 2. Select an index for - Query 1 + + Query 1 + and enter a query. -
-+ +
++ The following example searches the index for the search text: -
--+-+ + + + + + + ++ + + + + - + { + + + + + + + "query" - - - { - - - + : + - - - "query" - - - : - - - - { - - + { + + + + + + + "multi_match" - - - "multi_match" - - - : - - - - { - - - + : + - - - "query" - - - : - - - - "%SearchText%" - - - , - - + { + + + + + + + "query" - - - "fields" - - - : - - - - [ - - - "speaker" - - - , - - - - "text_entry" - - - ] - - + : + + + + "%SearchText%" + + + , + + + + + + + "fields" + + + : + + + + [ + + + "speaker" + + + , + + + + "text_entry" - - - } - - - + ] + + + + + - - - } - - - + } + + + + + - - - } - - - + } + + + + + - + } -
-
+
+ 3. Select an index for - Query 2 + + Query 2 + and enter a query. -
-+ +
++ You can see how boosting a field affects the results. The following query boosts the field: -
----+ + + + + + { + + + + + + + "query" + + + : + + + + { + + + + + + + "multi_match" - - - { - - + : + + + + { + + + + + + + "query" - - - "query" - - - : - - - - { - - + : + + + + "%SearchText%" + + + , + + + + + + + "fields" - - - "multi_match" - - - : - - - - { - - - + : + - - - "query" - - - : - - - - "%SearchText%" - - - , - - - + [ - - - "fields" - - - : - - - - [ - - - "speaker^3" - - - , - - - - "text_entry" - - - ] - - - + "speaker^3" - - - } - - - + , + - - - } - - - + "text_entry" - - - } - - - + ] + + + + + + } + + + + + + + } -
--++ + -+ + + + + + + + +- - + } -+-+ ++ + ++
+ To learn more about boosts, see the - Multi-match Query Documentation + + Multi-match Query Documentation + . -
-+ +
++ 4. Compare results -
-+ +
++ Select - Search + + Search + and compare the results in Results 1 and Results 2. -
-
+ + +
+ Enter a query in - OpenSearch Query DSL + + OpenSearch Query DSL + endpoint. -
-
+
+
+
+
+ 1. Enter the search text in the search bar. -
-+ +
++ 2. Select an index for - Query 1 + + Query 1 + and enter a query. -
-+ +
++ The following example searches the index for the search text: -
--+-+ + + + + + + ++ + + + + - + { + + + + + + + "query" - - - { - - - + : + - - - "query" - - - : - - - - { - - + { + + + + + + + "multi_match" - - - "multi_match" - - - : - - - - { - - + : + + + + { + + + + + + + "query" - - - "query" - - - : - - - - "%SearchText%" - - - , - - + : + + + + "%SearchText%" + + + , + + + + + + + "fields" + + + : + + + + [ + + + "speaker" - - - "fields" - - - : - - - - [ - - - "speaker" - - - , - - - - "text_entry" - - - ] - - - + , + - - - } - - - + "text_entry" - - - } - - - + ] + + + + + - - - } - - + } + + + + + + + } + + + + + - + } -
-
+
+ 3. Select an index for - Query 2 + + Query 2 + and enter a query. -
-+ +
++ You can see how boosting a field affects the results. The following query boosts the field: -
--+-+ + + + + + + ++ + + + + + { + + + + + + + "query" + + + : + + + + { + + + + + + + "multi_match" - - - { - - + : + + + + { + + + + + + + + "query" + + + : + + + + "%SearchText%" + + + , + + + + + + + "fields" - - - "query" - - - : - - - - { - - - + : + - - - "multi_match" - - - : - - - - { - - - + [ - - - "query" - - - : - - - - "%SearchText%" - - - , - - - + "speaker^3" - - - "fields" - - - : - - - - [ - - - "speaker^3" - - - , - - - - "text_entry" - - - ] - - - + , + - - - } - - - + "text_entry" - - - } - - - + ] + + + + + - - - } - - + } + + + + + + + } + + + + + - + } -
-
+
+ To learn more about boosts, see the - Multi-match Query Documentation + + Multi-match Query Documentation + . -
-+ +
++ 4. Compare results -
-+ +
++ Select - Search + + Search + and compare the results in Results 1 and Results 2. -
-- Enter a query in + + Query format + + + +
+
- %SearchText%
-
-
+ %SearchText%
+
+
+
+
+ variable to refer
to the text in the search bar. When you enter
-
- Search
-
- , the queries are sent to the search
+
+
- GET
-
-
- _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 - + _search + + + + + endpoint. + + +
+
+
+
+
- speaker
-
-
- text_entry
-
-
- fields of the
+
+ text_entry
+
+
+
- shakespeare
-
-
---- - - - - - - - { - - - - - - - - "query" - - - : - - - - { - - - - - - - - "multi_match" - - - : - - - - { - - + - + + - - - "query" - - - : - - - - "%SearchText%" - - - , - - - + { - - - - "fields" - - - : - - - - [ - - - "speaker" - - - , - - - - "text_entry" - - - ] - - + - - - - - } - + + - - - - - } - - - + "query" - - - } - - - + : + - + { -
---+ + --- - + "multi_match" -
- 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"
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
+ :
+
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
+ "%SearchText%"
-
-
- }
-
-
-
+ ,
+
+
+
+
+
-
-
- }
-
-
-
+ "fields"
-
-
- }
-
-
-
+ :
+
-
+ [
-
-
- - 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. -
-
-
- %SearchText%
-
+ ,
-
- GET
-
+ "text_entry"
-
- _search
-
+ ]
-
-
-
-
- speaker
-
+ }
-
- text_entry
-
+ }
-
- shakespeare
-
+ }
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
-
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
+
-
- speaker
-
-
-
-
-
-
-
-
-
-
- {
-
-
-
-
-
-
-
- "query"
-
-
- :
-
-
-
- {
-
-
+
-
-
-
-
- "multi_match"
-
-
- :
-
-
-
- {
-
-
+
+
+
+ {
+
+
-
-
-
-
- "query"
-
-
- :
-
-
-
- "%SearchText%"
-
-
- ,
-
-
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ {
+
+
-
-
-
-
- "fields"
-
-
- :
-
-
-
- [
-
-
- "speaker^3"
-
-
- ,
-
-
-
- "text_entry"
-
-
- ]
-
+
+
+
+ "multi_match"
+
+
+ :
+
+
+
+ {
+
+
-
-
-
-
- }
-
-
+
+
+
+
+ "query"
+
+
+ :
+
+
+
+ "%SearchText%"
+
+
+ ,
+
+
-
-
+
+
-
- }
-
-
+
+ "fields"
+
+
+ :
+
+
+
+ [
+
+
+ "speaker^3"
+
+
+ ,
+
+
+
+ "text_entry"
+
+
+ ]
+
+
-
-
-
- }
-
+
+
+
+ }
+
+
-
-
-
-
-
-
+
-
-
+
+
-
- %SearchText%
+
+ %SearchText%
+
variable to refer
@@ -142,7 +144,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- GET
+
+ GET
+
HTTP method and the
@@ -152,7 +156,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- _search
+
+ _search
+
endpoint.
@@ -189,7 +195,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
and
@@ -199,7 +207,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- text_entry
+
+ text_entry
+
fields of the
@@ -210,7 +220,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- shakespeare
+
+ shakespeare
+
index for the search text:
@@ -455,7 +467,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
field:
@@ -918,7 +932,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- %SearchText%
+
+ %SearchText%
+
variable to refer
@@ -936,7 +952,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- GET
+
+ GET
+
HTTP method and the
@@ -946,7 +964,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- _search
+
+ _search
+
endpoint.
@@ -983,7 +1003,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
and
@@ -993,7 +1015,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- text_entry
+
+ text_entry
+
fields of the
@@ -1004,7 +1028,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- shakespeare
+
+ shakespeare
+
index for the search text:
@@ -1249,7 +1275,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
field:
@@ -1644,7 +1672,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- %SearchText%
+
+ %SearchText%
+
variable to refer
@@ -1662,7 +1692,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- GET
+
+ GET
+
HTTP method and the
@@ -1672,7 +1704,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- _search
+
+ _search
+
endpoint.
@@ -1709,7 +1743,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
and
@@ -1719,7 +1755,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- text_entry
+
+ text_entry
+
fields of the
@@ -1730,7 +1768,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- shakespeare
+
+ shakespeare
+
index for the search text:
@@ -1975,7 +2015,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
field:
@@ -2370,7 +2412,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- %SearchText%
+
+ %SearchText%
+
variable to refer
@@ -2388,7 +2432,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- GET
+
+ GET
+
HTTP method and the
@@ -2398,7 +2444,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- _search
+
+ _search
+
endpoint.
@@ -2435,7 +2483,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
and
@@ -2445,7 +2495,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- text_entry
+
+ text_entry
+
fields of the
@@ -2456,7 +2508,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- shakespeare
+
+ shakespeare
+
index for the search text:
@@ -2701,7 +2755,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
field:
@@ -3084,7 +3140,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- %SearchText%
+
+ %SearchText%
+
variable to refer
@@ -3102,7 +3160,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- GET
+
+ GET
+
HTTP method and the
@@ -3112,7 +3172,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- _search
+
+ _search
+
endpoint.
@@ -3149,7 +3211,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
and
@@ -3159,7 +3223,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- text_entry
+
+ text_entry
+
fields of the
@@ -3170,7 +3236,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- shakespeare
+
+ shakespeare
+
index for the search text:
@@ -3415,7 +3483,9 @@ exports[`Flyout component Renders flyout component 1`] = `
- speaker
+
+ speaker
+
field:
@@ -3850,10 +3920,18 @@ exports[`Flyout component Renders flyout component 1`] = `
values={
Object {
"endpointName":
- %SearchText%
+
+
+ %SearchText%
+
+
@@ -3984,7 +4074,15 @@ exports[`Flyout component Renders flyout component 1`] = `
- GET
+
+
+ GET
+
+
@@ -4001,7 +4099,15 @@ exports[`Flyout component Renders flyout component 1`] = `
- _search
+
+
+ _search
+
+
@@ -4074,13 +4180,25 @@ exports[`Flyout component Renders flyout component 1`] = `
values={
Object {
"shakespeare":
- speaker
+
+
+ speaker
+
+
@@ -4115,7 +4241,15 @@ exports[`Flyout component Renders flyout component 1`] = `
- text_entry
+
+
+ text_entry
+
+
@@ -4133,7 +4267,15 @@ exports[`Flyout component Renders flyout component 1`] = `
- shakespeare
+
+
+ shakespeare
+
+
@@ -4499,7 +4641,11 @@ exports[`Flyout component Renders flyout component 1`] = `
values={
Object {
"speaker":
- speaker
+
+
+ speaker
+
+
diff --git a/public/components/common/flyout.tsx b/public/components/common/flyout.tsx
index a3a1fe5..5587be6 100644
--- a/public/components/common/flyout.tsx
+++ b/public/components/common/flyout.tsx
@@ -83,7 +83,14 @@ export const Flyout = () => {
/>
),
- variableName:
-
- 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"
-
-
- ]
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
- }
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
+
-
-
+ Compare search results
+