Thanks Andy, sorry to rush you!  But thank you for your quick response,
it's very helpful.

My initial reaction is that I don't think it will help. There is searching
> across courses using course metadata that is implemented on our marketing
> site, and then there is searching through course content which is available
> within a course. The former is implemented in the edx-mktg repo so probably
> can't be reused, and the latter is in edx-platform but I don't think does
> what you are looking for.


What I like about using edx-search (instead of, say, course-discovery) is I
can use it without adding any dependencies to Studio.  And since Studio
triggers reindexing, and there's already flags to enable/disable it.

I agree that the free text search isn't as useful, since it queries the
whole course content.  But it also queries the title, which is what we need.

Also, since edx-search uses an ElasticSearch index, it's far more flexible
than the Courses API -- I'd struggle to implement the Availability filter
there using data transformers, since it's dependent on start/end dates, so
the availability status changes as time ticks along.  With edx-search, I
can just specify a custom SEARCH_FILTER_GENERATOR
<https://github.com/edx/edx-search/blob/master/search/filter_generator.py#L35>
subclass, and implement the availability query there.

In short, I can't think of a better or more flexible solution..  but am
totally open to suggestions.

Cheers,
--
Jill
@OpenCraft <http://opencraft.com/>

-- 
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/CAMZ1AtKLs08JdmOLaOXXzDx3LbhNsaqSaVvjB7jTF18nga0ovg%40mail.gmail.com.

Reply via email to