Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-data-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-analytics-data-api
Commits
4abcb742
Commit
4abcb742
authored
Sep 02, 2016
by
Jillian Vogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PR review: adds new fields to create_elasticsearch_learners_indices.py
parent
cee1c340
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
analytics_data_api/management/commands/create_elasticsearch_learners_indices.py
+30
-0
No files found.
analytics_data_api/management/commands/create_elasticsearch_learners_indices.py
View file @
4abcb742
...
@@ -29,6 +29,9 @@ class Command(BaseCommand):
...
@@ -29,6 +29,9 @@ class Command(BaseCommand):
'name'
:
{
'name'
:
{
'type'
:
'string'
'type'
:
'string'
},
},
'user_id'
:
{
'type'
:
'integer'
,
'index'
:
'not_analyzed'
},
'username'
:
{
'username'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
'type'
:
'string'
,
'index'
:
'not_analyzed'
},
},
...
@@ -41,6 +44,33 @@ class Command(BaseCommand):
...
@@ -41,6 +44,33 @@ class Command(BaseCommand):
'enrollment_mode'
:
{
'enrollment_mode'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
,
'doc_values'
:
True
'type'
:
'string'
,
'index'
:
'not_analyzed'
,
'doc_values'
:
True
},
},
'language'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
},
'location'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
},
'year_of_birth'
:
{
'type'
:
'integer'
,
'index'
:
'not_analyzed'
},
'level_of_education'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
},
'gender'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
},
'mailing_address'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
},
'city'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
},
'country'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
},
'goals'
:
{
'type'
:
'string'
,
'index'
:
'not_analyzed'
},
'segments'
:
{
'segments'
:
{
'type'
:
'string'
'type'
:
'string'
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment