Hello Team!
I have configured discovery service on Juniper and refreshed the course metadata and could able to see the new courses in the discovery admin. But, when I’m testing the elastic search queries on my discovery URL https://test.discovery.example.com/, I can’t find any results.
I have found that the elastic search indexing is not done effectively when I have performed the following command:
sudo su discovery -s /bin/bash
source /edx/app/discovery/discovery_env
cd /edx/app/discovery/discovery
python manage.py update_index --disable-change-limit
I can see that the course runs are not getting indexed as shown below.
Please let me know how can we get them indexed and populate the data when queried.
Note:
Elasticsearch queries used from CLI:
curl ‘localhost:9200/catalog/_search?pretty=true’ -d ‘{“explain”: true, “query”: {“query_string”: {“query”: “pacing_type:self_paced”}}}’
Thanks in advance.