I have configured the discovery service and it works properly I think.
As a piece of evidence, I can call the /api/v1/course_runs/ API and get appropriate results:
{
"count": 812,
"next": "https://discovery.example.com/api/v1/course_runs/?limit=20&offset=20",
"previous": null,
"results": [
{
...
but I can’t get results from Elasticsearch. and when I call the above API with q query string: https://discovery.example.com/api/v1/course_runs/?limit=100&q=org%3A(-HarvardX) I get nothing as result:
{"count":0,"next":null,"previous":null,"results":[]}
in addition, I want to put the output of my update_index management command here:
Skipping '<class 'course_discovery.apps.course_metadata.models.Position'>' - no index.
Skipping '<class 'course_discovery.apps.course_metadata.HistoricalCourse'>' - no index.
Indexing 576 courses
indexed 1 - 576 of 576 (worker PID: 25199).
Skipping '<class 'course_discovery.apps.course_metadata.models.CourseEditor'>' - no index.
Skipping '<class 'course_discovery.apps.course_metadata.HistoricalCourseRun'>' - no index.
Indexing 0 course runs
I’m already on juniper but I have had this problem since Ironwood. and migrating to koa is in progress.
any idea could be helpful
thanks in advance