dsp-api
dsp-api copied to clipboard
refactor(gravsearch): Separate prequery results processing from main query generation
#1423 shows that there needs to be some kind of abstraction for prequery results, so that when the prequery changes, the main query generator doesn't have to change. In particular, the main query generator shouldn't need to know the variable names used in the prequery. Perhaps there should be a prequery results processor, which would produce a nice data structure that the main query generator could use.