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

Allow to search with AND in the save object find API #29262

Closed
timroes opened this issue Jan 24, 2019 · 3 comments
Closed

Allow to search with AND in the save object find API #29262

timroes opened this issue Jan 24, 2019 · 3 comments
Assignees
Labels
enhancement New value added to drive a business result Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@timroes
Copy link
Contributor

timroes commented Jan 24, 2019

It would be very useful (and the behavior we had prior 6.0) if we could search saved objects in the find API so that AND will be used instead of OR, i.e. searching for foo bar will now search for foo OR bar and not foo AND bar. There is currently no way in specifying that in the API.

We would need to be able to specify that in the API or maybe even change the default back to AND.

See also #20676

@timroes timroes added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:Saved Objects labels Jan 24, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

@mikecote mikecote self-assigned this Jan 24, 2019
@epixa epixa added the enhancement New value added to drive a business result label Jan 24, 2019
@AlonaNadler
Copy link

@LeeDr's screenshot really explain the problem expressed by several of customers
#14687
image

@timroes
Copy link
Contributor Author

timroes commented Jan 25, 2019

That screenshot is actually another issue, NOT related to this one. That is the issue, that the visualization listing page sorts the results alphabetically and not by the native ES result order. That is issue #14687, which is not related to #20676. A demonstration of how that OR behavior works, can be seen in this GIF:

peek 2019-01-24 15-16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

5 participants