For a simple Trinity::query_rewrite(), with budget set to 250, and a lambda that simply returns an alternative for a sequence of tokens the concatenation of said tokens (i.e from [mac, book] => macbook), for this query [com plete season steel book edition ps4 game square enix playstation] the re-written query is wrong, because stopping when budget is depleted apparently breaks the process.
We need to either figure out why, or do away with budgets during generation, and then prune the final query after we have constructed it, based on a budget constraint.
For now, budget is not respected until this is fixed.
Private: See Q.cpp
For a simple Trinity::query_rewrite(), with budget set to 250, and a lambda that simply returns an alternative for a sequence of tokens the concatenation of said tokens (i.e from [mac, book] => macbook), for this query
[com plete season steel book edition ps4 game square enix playstation]the re-written query is wrong, because stopping when budget is depleted apparently breaks the process.We need to either figure out why, or do away with budgets during generation, and then prune the final query after we have constructed it, based on a budget constraint.
For now, budget is not respected until this is fixed.
Private: See Q.cpp