Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LMS] <TC_LEARNER_50>: <Dashboard search isn't working> #321

Closed
fayyazahmed66 opened this issue Oct 26, 2023 · 8 comments
Closed

[LMS] <TC_LEARNER_50>: <Dashboard search isn't working> #321

fayyazahmed66 opened this issue Oct 26, 2023 · 8 comments
Assignees
Milestone

Comments

@fayyazahmed66
Copy link

Release

quince

Expected behavior

The search should work properly.

Actual behavior

The search isn't working according to expectations.

Steps to reproduce

  1. Go to the LMS dashboard
  2. type any already existing course in the search
  3. click on search button

Additional information

dashboard search
@mariajgrimaldi
Copy link
Member

I'll be researching this in the next few days

@mariajgrimaldi
Copy link
Member

mariajgrimaldi commented Dec 9, 2023

@regisb: can we check that the demo server search configurations are correct? I'm trying to configure the course search in my local environment, but I'm having a bit of trouble, I'm following this documentation to do it: https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/edx_search.html

This is what I've been doing:

  • Enable dashboard search in my local environment with
FEATURES["ENABLE_DASHBOARD_SEARCH"] = True
  • Change course enrollment start date to a date in the past
  • Reindex course

But when I'm searching for a pattern, let's say: "demo" or anything else, I'm getting 0 results, and while the LMS is making a post request to elasticsearch, the ES service is not logging anything from the search:

Screencast.from.09-12-23.14.44.38.webm

I also set the SEARCH_ENGINE = "search.elastic.ElasticSearchEngine" but I'm still getting the same result.

@regisb
Copy link
Contributor

regisb commented Dec 10, 2023

🤔 I tried to search for a course on the demo server: https://quince.demo.edly.io/courses A search for "demo" yields no result, but looking for "demonstration" does return one result.

image

Was the issue fixed since it was reported?

@mariajgrimaldi
Copy link
Member

mariajgrimaldi commented Dec 11, 2023

The BTR team didn't classify this issue as a release blocker since the learner dashboard MFE is now the default dashboard, but I'll let folks know we've encountered it. In the meantime, I'll try to reproduce it in my local environment.

@0x29a
Copy link

0x29a commented Jan 5, 2024

@mariajgrimaldi, were you able to reproduce this issue locally?

@cmltaWt0 cmltaWt0 modified the milestones: Quince.1, Quince.2 Jan 8, 2024
@mariajgrimaldi
Copy link
Member

Hi @0x29a, I went on vacation shortly after I published the last comment. I'll try reproducing the issue locally this week or next. Thanks for the patience!

@mariajgrimaldi
Copy link
Member

Hi there @0x29a, thanks for your patience. I followed these instructions and made it work in my Tutor nightly environment:

  • Configure my search engine as SEARCH_ENGINE = "search.elastic.ElasticSearchEngine" for the LMS/CMS
  • Ensure my courses had an enrollment date in the past
  • Reindex all courses by running ./manage.py cms reindex_course --all
  • Considering what gets indexed, I searched for some subsections:
    image
    To be sure this was working in quince, I also tested it in a remote quince environment we have running:
    image
    Since this is working, I'll be closing this issue. If something else is found, then we can open a new one.

@0x29a
Copy link

0x29a commented Mar 9, 2024

Thank you very much, @mariajgrimaldi!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

5 participants