Permalink
Browse files

ignore frequent partial search terms

Adds word counts from a full planet to the word table. There is a
new configuration option CONST_Max_Word_Frequency which allows to
take into account the word count: the value that was set on import
is used to determine if a word is added to the search_name table.
The value during runtime determines if a single term should be
used for partial search or simply be ignored.
  • Loading branch information...
1 parent f106349 commit e73e67001e60c4e73ad851b35000a503be42027a @lonvia lonvia committed Sep 24, 2012
Showing with 49,667 additions and 12 deletions.
  1. +49,646 −0 data/words.sql
  2. +1 −0 settings/settings.php
  3. +11 −5 sql/functions.sql
  4. +8 −7 utils/setup.php
  5. +1 −0 website/search.php
Oops, something went wrong.

0 comments on commit e73e670

Please sign in to comment.