FSTCompletion

higherWeightsFirst - Return most popular suggestions first. This is the default
behavior for this implementation. Setting it to false
has no effect (use constant term weights to sort alphabetically
only).

exactFirst - Find and push an exact match to the first position of the result
list if found.

FSTCompletion

public FSTCompletion(org.apache.lucene.util.fst.FST<Object> automaton)