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 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,