floere/picky — Issue #41: Dynamic weights
Author: floere
Created: 2011-11-08 23:38:21+00:00
State: open
Labels: Server

Currently the token weights are statically indexed. However, some search engines do not need the weight and would be happy with a constant weight of zero.

Add a `Picky::Weights::None` weights generator that does not generate weights, but instead always returns 0 as the weight.

Also, finalize the interface so that people can add e.g. a `RandomWeight` or similar.