Commit 4abcb742 by Jillian Vogel

PR review: adds new fields to create_elasticsearch_learners_indices.py

parent cee1c340
......@@ -29,6 +29,9 @@ class Command(BaseCommand):
'name': {
'type': 'string'
},
'user_id': {
'type': 'integer', 'index': 'not_analyzed'
},
'username': {
'type': 'string', 'index': 'not_analyzed'
},
......@@ -41,6 +44,33 @@ class Command(BaseCommand):
'enrollment_mode': {
'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': {
'type': 'string'
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment