Method Search.RankingProfile()->create()
- Method create
Search.RankingProfile 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, })
andfield_ranking
defaults to({ 17, 0, 147 }) + allocate(62)
.db
is only needed iffield_ranking
is provided as a mapping.