Refactor DisMaxQuery into SubQuery(Query|Scorer) that admits easy subclassing. An example is given for multiplicatively combining scores.
Note: patch is not clean; for demonstration purposes only.
Description
Refactor DisMaxQuery into SubQuery(Query|Scorer) that admits easy subclassing. An example is given for multiplicatively combining scores.
Note: patch is not clean; for demonstration purposes only.