Hi,

I'm trying to find out the workflow of course filter (refine).


<https://lh3.googleusercontent.com/-sgsM8Ky_GPM/WfM_naI3kSI/AAAAAAAACt0/EiT5PZu7mzMpk0TIgFreNO_HOjOz0rtswCLcBGAs/s1600/%25E5%25B1%258F%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7%2B2017-10-27%2B%25E4%25B8%258B%25E5%258D%258810.15.21.png>


Up to now, i have already know:

When i click facets option(filter field rightside), course get searched via 
elasticsearch("search.elastic.ElasticSearchEngine") and refresh page via 
ajax,

and here is some program log.
    
    i.   [elasticsearch] base.py:49 - HEAD 
http://localhost:9200/courseware_index [status:200 request:0.003s]
    ii.  [elasticsearch] base.py:49 - GET 
http://localhost:9200/courseware_index/course_info/_search?from=0&size=20 
[status:200 request:0.005s]
    iii. "POST /search/course_discovery/ HTTP/1.1" 200 33034

So, i checked 9200 port and it's elasticsearch and found that filter bar 
initial from search response.

If search response contains subject field(want to filter course by subject 
like math、cs), so it can shows subject facets on filter bar.

Finally, what i need is modify response of  "/search/course_discovery/ 
HTTP/1.1". 
But it seems did not appear at edx-platform subject, can anybody give some 
advice?


Thanks in advance and sorry for my poor english.

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/a9ecc37c-90f6-44e3-bd55-236fae00f8fd%40googlegroups.com.

Reply via email to