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 9b59b6d commit 83b3541
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 @@ -419,7 +419,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 @@ -1272,8 +1272,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 @@ -127,7 +127,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 @@ -618,7 +618,7 @@
"ignore_above": 1024,
"type": "keyword"
},
"groups": {
"group": {
"ignore_above": 1024,
"type": "keyword"
},
Expand Down

0 comments on commit 83b3541

Please sign in to comment.