Avatar

Search function feeds a lot of spam (General)

by Alex ⌂, Saturday, March 28, 2009, 10:48 (5511 days ago) @ Floxx

Hi Floxx,

But in MLF 2.0 I get always a lot of spam parallel to the useful results, e.g. "entries" when I'm looking for IE.

The search function hasn't been changed much since version 1.7:

But you're right: it's no real search function with search index. I already thought about this feature but still didn't have time to implement it.

For that you need (at least) another two database tables: one with all words used in the forum (except for stop words) and the other one containing the IDs of all entries (and word frequencies/relevance) referencing the table with the words. Furthermore a mechanism to update this index is required (either performed every time an entry is added/edited/deleted or once per a certain period of time).

Alex


Complete thread:

 RSS Feed of thread