Close
dtSearch Engine API for Java
SearchFlags.dtsSearchPositionalScoring Field

Rank documents higher when hits are closer to the top of the document and when hits are located close to each other within a document. This improves relevancy ranking for "all words" and "any words" searches. See Relevance in the Overviews section.

Syntax
Java
public static final int dtsSearchPositionalScoring = 0x100000;