Course Search : What is ELASTIC_FIELD_MAPPINGS and is it required for course search to function?
127 views
Skip to first unread message
Aparna P
unread,
Jun 14, 2016, 1:20:23 AM6/14/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to General Open edX discussion
Hi all!
For enabling course search, the documentation says to set ELASTIC_FIELD_MAPPINGS together with other fields like SEARCH_ENGINE and ENABLE_COURSEWARE_INDEX.
But we found that even if ELASTIC_FIELD_MAPPINGS is not set, course search works just fine. So the question is : is ELASTIC_FIELD_MAPPINGS obsolete or does it provide some fine tuning to the search feature?
Thanks, Aparna
eug...@opencraft.com
unread,
Jun 28, 2016, 7:29:58 AM6/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to General Open edX discussion
HI Aparna!
tl;dr: Yes, ELASTIC_FIELD_MAPPINGS provide fine tuning capabilities - you don't need to set them if you don't know what you're doing.
Details: it is used in edx-search to specify ElasticSearch mapping for an index - it allows fine tuning the way ElasticSearch indexes the data. Default mappings are less than ideal, but work. And unless you've got someone at least roughly familiar with what ElasticSearch mappings are, you don't want to change them as it might result in broken or malfunctioning search.