Skip to content

Commit 974b5fd

Browse files
author
Spencer
authored
Revert "[skip ci][Maps] Update search document section with ne… (#45301)
This reverts commit d5e370d.
1 parent 6039709 commit 974b5fd

8 files changed

+2
-53
lines changed
-86.8 KB
Binary file not shown.
-405 KB
Binary file not shown.

docs/maps/images/filter_icon.png

-3.75 KB
Binary file not shown.
8.32 KB
Loading
1.53 MB
Loading
1.75 MB
Loading

docs/maps/images/tools_icon.png

-3.8 KB
Binary file not shown.

docs/maps/search.asciidoc

Lines changed: 2 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
[[maps-search]]
33
== Searching your data
44

5-
**Elastic Maps** embeds the search bar for real-time search.
5+
**Elastic Maps** embeds the query bar for real-time ad hoc search.
66
Only layers requesting data from {es} are filtered when you submit a search request.
7-
Layers narrowed by the search context contain the filter icon image:maps/images/filter_icon.png[] to the right of layer name in the legend.
87

98
You can create a layer that requests data from {es} from the following:
109

@@ -14,51 +13,13 @@ You can create a layer that requests data from {es} from the following:
1413

1514
** Grid aggregation source
1615

17-
** <<terms-join>>. The search context is applied to both the terms join and the vector source when the vector source is provided by Elasticsearch documents.
16+
** <<terms-join>>
1817

1918
* <<heatmap-layer>> with Grid aggregation source
2019

2120
[role="screenshot"]
2221
image::maps/images/global_search_bar.png[]
2322

24-
[role="xpack"]
25-
[[maps-create-filter-from-map]]
26-
=== Creating filters from your map
27-
28-
You can create two types of filters by interacting with your map:
29-
30-
* <<maps-spatial-filters, Spatial filters>>
31-
* <<maps-phrase-filter, Phrase filters>>
32-
33-
[float]
34-
[[maps-spatial-filters]]
35-
==== Spatial filters
36-
37-
A spatial filter narrow searchs results to documents that either intersect with, are within, or do not intersect with the specified geometry.
38-
39-
You can create spatial filters in two ways:
40-
41-
* Click the tool icon image:maps/images/tools_icon.png[], and then draw a polygon or bounding box on the map to define the spatial filter.
42-
* Click *Filter by geometry* in a tooltip, and then use the feature's geometry for the spatial filter.
43-
+
44-
[role="screenshot"]
45-
image::maps/images/create_spatial_filter.png[]
46-
47-
Spatial filters have the following properties:
48-
49-
* *Geometry label* enables you to provide a meaningful name for your spatial filter.
50-
* *Spatial field* specifies the geo_point or geo_shape field used to determine if a document matches the spatial relation with the specified geometry.
51-
* *Spatial relation* determines the {ref}/query-dsl-geo-shape-query.html#_spatial_relations.html[spatial relation operator] to use at search time. Only available when *Spatial field* is set to geo_shape.
52-
53-
[float]
54-
[[maps-phrase-filter]]
55-
==== Phrase filters
56-
57-
A phrase filter narrows search results to documents that contain the specified text.
58-
You can create a phrase filter by clicking the plus icon image:maps/images/gs_plus_icon.png[] in a feature tooltip.
59-
60-
[role="screenshot"]
61-
image::maps/images/create_phrase_filter.png[]
6223

6324
[role="xpack"]
6425
[[maps-layer-based-filtering]]
@@ -82,18 +43,6 @@ This can also occur with a single layer with an {es} source and a <<terms-join>>
8243

8344
Searching across multiple indices might sometimes result in empty layers.
8445
The most common cause for empty layers are searches for a field that exists in one index, but does not exist in other indices.
85-
86-
[float]
87-
[[maps-disable-search-for-layer]]
88-
==== Disable search for layer
89-
90-
To prevent the global search bar from applying search context to a layer, clear the *Apply global filter to layer* checkbox in Layer settings.
91-
Disabling the search context applies to the layer source and all <<terms-join, term joins>> configured for the layer.
92-
93-
[float]
94-
[[maps-add-index-search]]
95-
==== Use _index in your search
96-
9746
Add {ref}/mapping-index-field.html[_index] to your search to include documents from indices that do not contain a search field.
9847

9948
For example, suppose you have a vector layer showing the `kibana_sample_data_logs` documents

0 commit comments

Comments
 (0)