Skip to content

Commit

Permalink
Singular user.group.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Martin committed Dec 3, 2018
1 parent 524a2a6 commit 04cf2c7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ Note also that the `user` fields may be used directly at the top level.
| <a name="user.name"></a>user.name | Name of the user.<br/>The field is a keyword, and will not be tokenized. | core | keyword | |
| <a name="user.email"></a>user.email | User email address. | extended | keyword | |
| <a name="user.hash"></a>user.hash | Unique user hash to correlate information for a user in anonymized form.<br/>Useful if `user.id` or `user.name` contain confidential information and cannot be used. | extended | keyword | |
| <a name="user.groups"></a>user.groups | Groups the user is a part of. | extended | keyword | |
| <a name="user.group"></a>user.group | Group the user is a part of. This field can contain a list of groups, if necessary. | extended | keyword | |



Expand Down
5 changes: 3 additions & 2 deletions fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1243,8 +1243,9 @@
Useful if `user.id` or `user.name` contain confidential information and
cannot be used.

- name: groups
- name: group
level: extended
type: keyword
description: >
Groups the user is a part of.
Group the user is a part of. This field can contain a list of groups, if
necessary.
2 changes: 1 addition & 1 deletion schema.csv
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ url.query,keyword,extended,
url.scheme,keyword,extended,https
url.username,keyword,extended,
user.email,keyword,extended,
user.groups,keyword,extended,
user.group,keyword,extended,
user.hash,keyword,extended,
user.id,keyword,core,
user.name,keyword,core,
5 changes: 3 additions & 2 deletions schemas/user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@
Useful if `user.id` or `user.name` contain confidential information and
cannot be used.
- name: groups
- name: group
level: extended
type: keyword
description: >
Groups the user is a part of.
Group the user is a part of. This field can contain a list of groups, if
necessary.
2 changes: 1 addition & 1 deletion template.json
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
"ignore_above": 1024,
"type": "keyword"
},
"groups": {
"group": {
"ignore_above": 1024,
"type": "keyword"
},
Expand Down

0 comments on commit 04cf2c7

Please sign in to comment.