Does anyone know how rank modes and weight work in sphinx - I'm reading the following from the Sphinx site:
http://www.sphinxsearch.com/docs/manual-0.9.8.html#api-func-setrankingmode No matter what rank mode I select the @weight attribute returns the same number. I've also noticed that the amount of words in the document alter the relevance. I want an easy and universal method for capturing phrase proximity for an extended search. I'm using the :extended2 search mode.I've tried all the available rank modes. I'm experimenting with attribute-attribute matching with sphinx These are the options I'm passing to search :match_mode => :extended2, :field_weights => weights, :sort_mode => :extended, :rank_mode => :bm25, :limit => 30, :conditions => "user_login != '#{diagnosis.user.login}'" Thanks, -- ========================= Dan Pickett Principal Enlight Solutions, Inc http://EnlightSolutions.com http://www.twitter.com/dpickett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
