[DOCS] Updates Discover docs (#110346)
* [DOCS] Updates search for relevance doc * [DOCS] Updates Discover intro doc
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 180 KiB |
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 122 KiB |
Before Width: | Height: | Size: 276 KiB After Width: | Height: | Size: 216 KiB |
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 169 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 187 KiB After Width: | Height: | Size: 189 KiB |
|
@ -1,6 +1,5 @@
|
|||
[[discover-search-for-relevance]]
|
||||
== Search for relevance
|
||||
Sometimes you might be unsure which documents best match your search.
|
||||
{es} assigns a relevancy, or score to each document, so you can
|
||||
can narrow your search to the documents with the most relevant results.
|
||||
The higher the score, the better it matches your query.
|
||||
|
@ -12,9 +11,7 @@ the <<gs-get-data-into-kibana, sample flights data set>>, or you can use your ow
|
|||
. In *Discover*, open the index pattern dropdown, and select that data you want to work with.
|
||||
+
|
||||
For the sample flights data, set the index pattern to *kibana_sample_data_flights*.
|
||||
. In the query bar, click *KQL*, and then turn it off.
|
||||
+
|
||||
You're now using the <<lucene-query, Lucene query syntax>>.
|
||||
|
||||
. Run your search. For the sample data, try:
|
||||
+
|
||||
```ts
|
||||
|
@ -22,15 +19,15 @@ Warsaw OR Venice OR Clear
|
|||
```
|
||||
. If you don't see any results, expand the <<set-time-filter,time range>>, for example to *Last 7 days*.
|
||||
. From the list of *Available fields*, add `_score` and any other fields you want to the document table.
|
||||
. To sort the `_score` column in descending order, hover over its header, and then click twice on
|
||||
the arrow icon
|
||||
image:images/double-arrow.png[Double arrow icon to indicate sorting] so it changes to
|
||||
. To sort the `_score` column in descending order, hover over its header, and set
|
||||
the sort icon to
|
||||
image:images/downward-arrow.png[Downward pointing arrow to indicate descending sorting].
|
||||
+
|
||||
At this point, you're doing a multi-column sort: first by `Time`, and then by `_score`.
|
||||
. To turn off sorting for the `Time` field, hover over its header, and then click the down arrow.
|
||||
. To turn off sorting for the `Time` field, hover over its header, and set the sort icon to
|
||||
image:images/double-arrow.png[Arrow on both ends of the icon indicates sorting is off].
|
||||
+
|
||||
Your table now sorts documents from most to least relevant.
|
||||
+
|
||||
[role="screenshot"]
|
||||
image::images/discover-search-for-relevance.png["Example of a search for relevance"]
|
||||
image::images/discover-search-for-relevance.png["Documents are sorted from most relevant to least relevant."]
|
||||
|
|
|
@ -78,7 +78,7 @@ If you are using the sample data, this value was set when you added the data.
|
|||
If you are using your own data, and it does not have a time field, the range selection is not available.
|
||||
|
||||
. To view the count of documents for a given time in the specified range,
|
||||
click and drag the mouse over the histogram.
|
||||
click and drag the mouse over the chart.
|
||||
|
||||
[float]
|
||||
[[explore-fields-in-your-data]]
|
||||
|
@ -108,7 +108,7 @@ them to your document table. Your table should look similar to this:
|
|||
image:images/document-table.png[Document table with fields for manufacturer, customer_first_name, and customer_last_name]
|
||||
|
||||
. To rearrange the table columns, hover the mouse over a
|
||||
column header, and then use the move controls.
|
||||
column header, and then use the move control.
|
||||
|
||||
. To view more of the document table, click *Hide chart*.
|
||||
|
||||
|
@ -275,7 +275,7 @@ image:images/discover-maps.png[Map containing documents]
|
|||
[[share-your-findings]]
|
||||
=== Share your findings
|
||||
|
||||
To share your findings with a larger audience, click *Share* in the toolbar. For detailed information about the sharing options, refer to <<reporting-getting-started,Reporting>>.
|
||||
To share your findings with a larger audience, click *Share* in the *Discover* toolbar. For detailed information about the sharing options, refer to <<reporting-getting-started,Reporting>>.
|
||||
|
||||
|
||||
[float]
|
||||
|
@ -285,8 +285,6 @@ To share your findings with a larger audience, click *Share* in the toolbar. For
|
|||
|
||||
* <<discover-search-for-relevance, Search for relevance>>.
|
||||
|
||||
* <<reporting-getting-started, Present your findings in a report>>.
|
||||
|
||||
* <<kibana-discover-settings, Configure Discover>> to better meet your needs.
|
||||
Go to **Advanced Settings** to configure the number of documents to show,
|
||||
the table columns that display by default, and more.
|
||||
|
|