-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[ResponseOps] [Cases] Update mapping for case title #147341
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
Changes from 5 commits
7063452
f4a144f
fa9f090
7411631
5bda09e
b5f7dcf
ce93e3e
4fc6527
242910f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -138,6 +138,12 @@ export const createCaseSavedObjectType = ( | |
| }, | ||
| title: { | ||
| type: 'text', | ||
| fields: { | ||
| keyword: { | ||
| type: 'keyword', | ||
| ignore_above: 160, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should remove it (my mistake, I know 🙂 ) in case it will cause a migration if we change it. The backend validation is enough. @rudolf if we change the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you mean having the default value for this field?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I mean remove the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we would always reindex if any key was removed from the mappings (like removing the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, @rudolf! What I meant is if we changing the |
||
| }, | ||
| }, | ||
| }, | ||
| status: { | ||
| type: 'keyword', | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind if you rename the function form
sortToSnaketogetSortFieldor similar? The function does not convert from camel case to snake case any more.