Closed alexott closed 8 months ago
I'll be working on ch7 thoroughly next week and will review this then.
Ok, I fixed this by refactoring the previous run_search
and post_search
methods, now renamed keyword_search
and structured_search
respectively. The internal calls in the webserver were calling the now "structured_search" method, which expects json, but the notebook was calling the now "keyword_search" method, which didn't handle it well.
Will push this on an upcoming commit that is refactoring the chapter 7 code base.
Resolved
If I'm trying to run
get_category_and_term_vector_solr_response("kimchi")
, I'm getting:Also,
run_search
is defined later in the notebook, not before this function