Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-01-2007, 12:59 AM
Junior Member
 
Join Date: Nov 2007
Posts: 1
Default Custom Search Scoring Algorithm

is it possible to customize the Zend_Search_Lucene scoring algorithm so it works more like this script:

iamcal.com - publish

each one of my index entries only contains on average 5-6 words. the default behavior of Zend_Search_Lucene has a very hard time with small amounts of text. For example, if i have index entries of:

Red Hook Pilsner
Samuel Adams Pilsner
Sierra Nevada Pilsner
Widmer Pilsner

and i search for "Red Hook Pilsner" chances are i'll get one of the other entries like "Widmer Pilsner" as my first result. i just want the engine to work based on the principle of mysql RLIKE matches.

is this possible?

Tim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 09:27 PM
xentek's Avatar
Senior Member
 
Join Date: Feb 2008
Posts: 112
Default

Try this: Zend Framework: Documentation - Extending Scoring

Last edited by xentek : 02-29-2008 at 04:01 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:19 PM.