-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Saved objects] Searching in Stack Management/Saved objects throws an error notification #112659
Comments
Pinging @elastic/kibana-core (Team:Core) |
This seems to be have been caused by #110148, now that cases are importable/exportable we're also searching over them, but our query doesn't work on @jonathan-buttner @elastic/security-threat-hunting is there a good reason |
That's not exactly it. A type's |
Just changing the mapping in your type definition should do it. |
Oh, so just to confirm when changing the type of a field you don't have to do it as part of a migration? Is that because all the documents are inserted on upgrade? |
Correct, all the documents are re-indexed from the old index to the new one during the SO migration occurring during a version upgrade. |
Pinging @elastic/response-ops (Team:ResponseOps) |
Kibana version:
master
Steps to reproduce:
Details:
Looking at the network:
Both calls:
http://localhost:5601/api/kibana/management/saved_objects/scroll/counts
and
http://localhost:5601/api/kibana/management/saved_objects/_find?search=lens*&perPage=50&page=1&fields=id&type=config&type=url&type=query&type=index-pattern&type=visualization&type=tag&type=canvas-element&type=canvas-workpad&type=graph-workspace&type=action&type=alert&type=dashboard&type=map&type=lens&type=cases-comments&type=cases&type=cases-user-actions&type=search&type=infrastructure-ui-source&type=metrics-explorer-view&type=inventory-view&type=apm-indices&sortField=type
throws 400 error with message: "all shards failed: search_phase_execution_exception: [query_shard_exception] Reason: failed to create query: Can only use phrase prefix queries on text fields - not on [cases.title] which is of type [keyword]"
The text was updated successfully, but these errors were encountered: