I noticed that this code actually ignores original scores when reading serialized index. So i was forced to comment it.
protected GenericTypeahead<E> createTypeahead(GenericTypeaheadConfig<E> config) throws Exception {
SOME CODE
// create scoreScanner
ScoreScanner scoreScanner = new ElementScoreScanner(config.getElementScoreFile());
SOME CODE
}
I noticed that this code actually ignores original scores when reading serialized index. So i was forced to comment it.