Commit graph

9 commits

Author SHA1 Message Date
Felix Stürmer a2727ececf [context view] Use _doc for tie-breaking instead of _uid (#12096)
Using fields with docvalues (like `_doc`) for tie-breaking yields
significantly better performance than using `_uid`, which lacks
docvalues at the moment. The downside is that sorting by `_doc` by
default is not stable under all conditions, but better than no
tie-breaking at all.

The new setting `context:tieBreakingFields` enables the user to
customize the list of fields Kibana attempts to use for tie-breaking.
The first field from that list, that is sortable in the current index
pattern, will be used. It defaults to `_doc`, which should change to
`_seq_no` from version 6.0 on.

In addition to just showing a notification, errors that occur while
loading documents from the database will be stored as part of the
`loadingStatus` along with a reason code (if known). This is used to
display more nuanced and helpful error messages to the user.

The first such error message indicates a missing or invalid tiebreaker
field required for sorting the context.
2017-06-08 12:21:52 +02:00
Thomas Neirynck 2270a6c24f Add Region Map Visualization
- Users can now create choropleth maps. This requires configuring an inner join between the results of a term-aggregation and a reference vector layer. This vector layer needs to be in the GeoJson format. By default, Kibana uses vector layers serverd by a data service hosted by Elastic. Users can also bring in their own layers by adding configuration entries in the kibana.yml. These need to point to a CORS-enabled data service that accepts requests from the Kibana application.
- For clarity, the tilemap is renamed to Coordinate Map.
- A new manifest is published by Elastic. this includes metadata for the available tilemap services, as well as metadata for the available vector data layers.
2017-05-31 16:56:02 -04:00
Thomas Neirynck c1e09d5b0e Add aggregation size to Advanced Settings (#11818)
The discover:aggs:terms:size config value was never added to the default values, so when the trash-button is clicked it removes the config completely and causes discover to send an empty size param to visualize.
2017-05-16 16:50:32 -04:00
Chris Cowan c092c4d288 Fixes #11231 - Adds check for max_bucket size for Time Series Visual Builder (#11245)
* Fixes #11231 - Adds check for max_bucket size for Time Series Visual Builder

* Added Math.floor() to bucket calculation; changed error message; changed option description
2017-04-20 05:45:12 -07:00
Felix Stürmer 85facdd04d Show event context (#9198)
This adds a link to the detail view of discover rows to switch to a view of the documents immediately before and after the selected document. Since that view uses the timestamp field of the index pattern, it is only available for time-based indices.

See #9198 for detailed screenshots.
2017-02-22 18:27:49 +01:00
Lukas Olson 909b8c7a0e Improve highlighting by using highlight_query with all_fields enabled (#9671)
* Add all_fields to highlight query to improve highlighting

* Refactor highlighting and move out of _flatten

* Make changes as per @bargs' requests

* Add documentation about highlightAll setting

* Fix docs typo

* Remove unused function

* Remove unused code
2017-02-03 10:44:00 -07:00
Tanya Bragin 5946f8788f Update managing-fields.asciidoc (#9739)
* Update managing-fields.asciidoc

* Remove references to Groovy
* Add information about Painless
* Link to blog for additional examples

* Update managing-fields.asciidoc

Make editorial changes per @debadair's feedback.
2017-01-13 07:54:06 -08:00
Joe Fleming 259767e8cb Add missing settings to Advanced Settings docs (#9691)
* add missing settings to advanced settings docs

* add indexPattern:placeholder

* consistency tweaks
2017-01-11 12:55:09 -07:00
Court Ewing 8895ae110f docs: Overhaul of doc structure for 5.0+ (#8821)
This overhaul of the docs structure puts Kibana's documentation more
inline with the structure that is used in Elasticsearch. This will help
us better organize the docs going forward as more docs are added.

This also includes a few necessary content changes for 5.0.
2016-10-24 21:41:32 -04:00