public abstract class SimilarityAlgorithm
extends Object
Base type for similarity algorithms. Similarity algorithms are used to
calculate scores that tie queries to documents. The higher the score, the
more relevant the document is to that specific query. Those scores are used
to rank the search results.