Re: [PHP] Homebrew fulltext search function (help)

2005-02-01 Thread Richard Lynch
Jason Morehouse wrote: > within a sqlite call. This pases matched content to a function, where > the function needs to pass back a score: > > sqlite_create_function($sDB, 'fulltext', 'fulltext_step',2); > > function fulltext_step($title, $content) { > $words = explode(' ', strtolower('php boo

[PHP] Homebrew fulltext search function (help)

2005-02-01 Thread Jason Morehouse
Hello, I'm trying to make up for the lack full text searching in sqlite by passing the search off to php with sqlite_create_function. The parsing part works fine, but I'm a little lost with the scoring, if anyone perhaps a little better @ math than I am, may be of assistance! The parsing code