| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Search
Search.RankingProfile

# Method Search.RankingProfile()->create()

Method create

  `void Search.RankingProfile(void|int cutoff, void|array(int) proximity_ranking, void|Search.Database.Base db, void|array(int)|mapping(string:int) field_ranking)`

Description

  cutoff defaults to 8, proximity_ranking defaults to `({ 8, 7, 6, 5, 4, 3, 2, 1, })` and field_ranking defaults to `({ 17, 0, 147 }) + allocate(62)`. db is only needed if field_ranking is provided as a mapping.