This is the backend setup for the following filters:
NUpath
college
subject
online
classType
Main update is convertting a json of filters , for e.g.{ 'NUpath': ['NU Core/NUpath Adv Writ Dscpl', 'NUpath Interpreting Culture'], 'college': ['UG Col Socl Sci & Humanities', 'GS Col of Arts', 'Computer&Info Sci'], 'subject': ['ENGW', 'ARTG', 'CS'], 'online': true, 'classType': 'Lecture', } into a elasticsearch query.
Need feedback on the following issues:
Is there a better way of constructing the es compound query (terms, function_score etc.)?
Should we disable employee search when any class filter is on?
This is the backend setup for the following filters:
Main update is convertting a json of filters , for e.g.
{ 'NUpath': ['NU Core/NUpath Adv Writ Dscpl', 'NUpath Interpreting Culture'], 'college': ['UG Col Socl Sci & Humanities', 'GS Col of Arts', 'Computer&Info Sci'], 'subject': ['ENGW', 'ARTG', 'CS'], 'online': true, 'classType': 'Lecture', }
into a elasticsearch query.Need feedback on the following issues:
terms
,function_score
etc.)?