Skip to content

Commit 99ab44c

Browse files
Merge branch 'master' into cleanup-spaces-plugin
2 parents 38fb012 + c116477 commit 99ab44c

218 files changed

Lines changed: 5934 additions & 1534 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bazeliskversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.3
1+
1.7.5
275 KB
Loading
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[[discover-search-for-relevance]]
2+
== Search for relevance
3+
Sometimes you might be unsure which documents best match your question.
4+
{es} assigns a relevancy, or score to each document, so you can
5+
can narrow your search to the documents with the most relevant results.
6+
The higher the score, the better it matches your query.
7+
8+
For example, suppose you have the <<gs-get-data-into-kibana, sample flights data set>>, and you're a searching for
9+
a flight that arrived or departed from `Warsaw` or `Venice` when the weather was clear.
10+
11+
. In *Discover*, open the index pattern dropdown, and select `kibana_sample_data_flight`.
12+
. In the query bar, click *KQL*, and switch to the <<lucene-query, Lucene query syntax>>.
13+
. Search for `Warsaw OR Venice OR Clear`.
14+
. If you don't see any results, open the time filter and select a time range that contains data.
15+
. From the list of *Available fields*, add `_score` to the document table.
16+
. In the document table, click the header for the `_score` column, and then sort the column by descending scores.
17+
+
18+
The results are currently sorted by first `Time`, and then by `_score`.
19+
. To sort only by `_score`, remove the `Time` field.
20+
+
21+
Your table now shows documents with the best matches, from most to least relevant.
22+
+
23+
[role="screenshot"]
24+
image::images/discover-search-for-relevance.png["Example of a search for relevance"]

docs/user/alerting/alert-types.asciidoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ For domain-specific alerts, refer to the documentation for that app.
3030
* <<geo-alerting, Maps alerts>>
3131
* <<xpack-ml, ML alerts>>
3232

33+
[NOTE]
34+
==============================================
35+
Some alert types are subscription features, while others are free features.
36+
For a comparison of the Elastic subscription levels,
37+
see {subscriptions}[the subscription page].
38+
==============================================
39+
40+
3341
include::stack-alerts/index-threshold.asciidoc[]
3442
include::stack-alerts/es-query.asciidoc[]
3543
include::maps-alerts/geo-alert-types.asciidoc[]

docs/user/discover.asciidoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ image:images/visualize-from-discover.png[Visualization that opens from Discover
198198
[float]
199199
=== What’s next?
200200

201-
202201
* <<kuery-query, Learn more about the structure of a KQL query>>.
203202

204203
* <<kibana-discover-settings, Configure Discover>> to better meet your needs.
@@ -209,10 +208,14 @@ the table columns that display by default, and more.
209208

210209
* <<reporting-getting-started, Present your findings in a report>>.
211210

211+
* <<discover-search-for-relevance, Search for relevance>>.
212+
212213
--
213214

214215
include::{kib-repo-dir}/management/index-patterns.asciidoc[]
215216

216217
include::{kib-repo-dir}/discover/set-time-filter.asciidoc[]
217218

218219
include::{kib-repo-dir}/discover/search.asciidoc[]
220+
221+
include::{kib-repo-dir}/discover/search-for-relevance.asciidoc[]

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@
655655
"fetch-mock": "^7.3.9",
656656
"file-loader": "^4.2.0",
657657
"file-saver": "^1.3.8",
658+
"form-data": "^4.0.0",
658659
"formsy-react": "^1.1.5",
659660
"geckodriver": "^1.21.0",
660661
"glob-watcher": "5.0.3",

packages/kbn-dev-utils/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export {
2323
KBN_P12_PATH,
2424
KBN_P12_PASSWORD,
2525
} from './certs';
26-
export * from './kbn_client';
2726
export * from './run';
2827
export * from './axios';
2928
export * from './stdio';

packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export function buildApiDeclaration(
5050
name?: string
5151
): ApiDeclaration {
5252
const apiName = name ? name : isNamedNode(node) ? node.getName() : 'Unnamed';
53-
log.debug(`Building API Declaration for ${apiName} of kind ${node.getKindName()}`);
5453
const apiId = parentApiId ? parentApiId + '.' + apiName : apiName;
5554
const anchorLink: AnchorLink = { scope, pluginName, apiName: apiId };
5655

packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_arrow_fn_dec.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ export function getArrowFunctionDec(
4747
anchorLink: AnchorLink,
4848
log: ToolingLog
4949
) {
50-
log.debug(
51-
`Getting Arrow Function doc def for node ${node.getName()} of kind ${node.getKindName()}`
52-
);
5350
return {
5451
id: getApiSectionId(anchorLink),
5552
type: TypeKind.FunctionKind,

packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_function_dec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ export function buildFunctionDec(
3939
const label = Node.isConstructorDeclaration(node)
4040
? 'Constructor'
4141
: node.getName() || '(WARN: Missing name)';
42-
log.debug(`Getting function doc def for node ${label} of kind ${node.getKindName()}`);
4342
return {
4443
id: getApiSectionId(anchorLink),
4544
type: TypeKind.FunctionKind,

0 commit comments

Comments
 (0)