>From my experience with scores, I found that you *have* to establish boosts for each field, otherwise you'll always get scores that are too low.
Try: - configuring boost for, say 3 fields. E.g.: tags => 20, title => 10, description => 15. - Adding entries to the index. - performing searches that hit each of these fields in separate so you can compare. Then check the score in the output. On Wed, Feb 27, 2008 at 12:24 AM, Bira <[EMAIL PROTECTED]> wrote: > On Mon, Feb 25, 2008 at 4:56 PM, Jens Kraemer <[EMAIL PROTECTED]> wrote: > > not sure, just try it out :-) or upload it somewhere on the ferret wiki. > > OK :). I'm sending the example attached to this message. > > There's two Ruby files (indexer.rb and searcher.rb), along with a text > file containing an e-mail from the Enron archives, which is the > indexable sample. > > After extracting it to a directory, running indexer.rb will index that > single message. Running searcher.rb will perform a pre-definded search > on the index, and print out the result and its score. > > In my local environment (Ferret 0.11.6 on Linux), a single result is > returned, as expected, and it's properly highlighted and everything. > Its score is 0. The search is a simple term query for "earnings". > > -- > Bira > http://compexplicita.wordpress.com > http://compexplicita.tumblr.com > > _______________________________________________ > Ferret-talk mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/ferret-talk > _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

