Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic controls cannot be used for unlimited/numeric searches #62302

Closed
slhck opened this issue Apr 2, 2020 · 3 comments
Closed

Dynamic controls cannot be used for unlimited/numeric searches #62302

slhck opened this issue Apr 2, 2020 · 3 comments
Labels
Feature:Input Control Input controls visualization Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@slhck
Copy link

slhck commented Apr 2, 2020

Kibana version: 7.6.1

Elasticsearch version: 7.6.1

Server OS version: Ubuntu 18.04

Browser version: Firefox

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.): Docker

Describe the bug: I want to use a control to allow the user to select one particular document via ID. A control to search for a numeric ID does not find all IDs. Upon entering a correct ID, it says the ID "does not match any options".

Steps to reproduce:

  1. Add a new control visualization
  2. Select the index pattern and the field "id"
  3. Type in an existing ID into the search field

Expected behavior: The ID should be findable.

Screenshots (if relevant):

This is the control itself:

image

This is when it does not find the ID 35:

image

However, the ID exists in the data (and of course, in the corresponding index):

image

The field is a numeric field, and the index mapping has been refreshed.

I found out that this is because the size of the options (10 in my case) determines the amount of IDs that can be found at all. It was not clear to me, at all, that these options fields are pre-populated and can only be used for a limited set of values in the case of numeric values.

@liza-mae liza-mae added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Apr 2, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@slhck
Copy link
Author

slhck commented Apr 3, 2020

I realize now that this really is a bug report turned into a feature request, but for me it manifested as a bug, as I didn't understand why it couldn't find the ID.

@flash1293 flash1293 added the Feature:Input Control Input controls visualization label Apr 3, 2020
@timroes timroes added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 7, 2020
@Heenawter
Copy link
Contributor

Heenawter commented Feb 23, 2023

Closing. If your ids are mapped as keywords, this should no longer be a problem with the new input controls. If your ids are mapped as numbers, this should be covered by #126795 once it is implemented 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Input Control Input controls visualization Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

6 participants