Modified the web app to better support the recommendation engine by allowing for subsets to be defined in the source field. One notable difficulty is that searching for a representative verbatim is more expensive because we cannot use docs/search to filter to a given subset. What I've implemented should work, but isn't guaranteed to work 100% of the time (if no document in the top 20k search results are for the subset most matching the query). Once we migrate to V5, I expect we'll be able to handle this more natively.
Modified the web app to better support the recommendation engine by allowing for subsets to be defined in the source field. One notable difficulty is that searching for a representative verbatim is more expensive because we cannot use docs/search to filter to a given subset. What I've implemented should work, but isn't guaranteed to work 100% of the time (if no document in the top 20k search results are for the subset most matching the query). Once we migrate to V5, I expect we'll be able to handle this more natively.