mnoGoSearch 3.3.9 reference manual: Full-featured search engine software
Prev |  | Next

# WordDensityFactor

## Name

WordDensityFactor -- gives more score to documents having higher word density

`search.htm`

## Synopsis

WordDensityFactor {number}

## Description

WordDensityFactor gives more score to the documents having higher frequency of the search query words.

`number` should be a number in the range `0..255`, with higher numbers meaning stronger effect. If `number` is `0`, then word density does not affect the final score.

The default value is `25`.

Word frequency is calculated separately for every section (e.g. `title`, `body`, etc) and is evaluated as the number of times the word appears in the section, devided by the total number of the words in this section.

WordDensityFactor appeared in mnoGoSearch version `3.3.0`.

> Note: WordDensityFactor is ingored if SaveSectionSize is set to `no`.

## Examples

    WordDensityFactor 100

## See also

DocSizeWeight IDFFactor MinCoordFactor NumDistinctWordFactor NumWordFactor WordFormFactor

Prev | Home | Next
WordCacheSize | Up | WordFormFactor