Two times to combine similarity and importance is before and after a query. Doing before query is like combining apples and oranges, but doing after query one can compute similarity and then importance based on query. Tradeoffs correspond to speed and accuracy.
- Elias