Hey guys,

I've been using Thinking Sphinx for a wile now and find it great!

...but today I'm trying to select "similar products" using the
fullscan option but it seems to have not effect at all!

my code:

products = Product.search @similar_keywords,
      :with => {:oflc_id => @similar_oflcs.uniq, :genre_id =>
@similar_genres.uniq},
      :without => {:id => @similar_ids},
      :matchmode => :fullscan,
      :sort_mode => :expr,
      :order => "@weight +
IN(product_format_id,#{@similar_formats.uniq.join(',')}) +
(available_on / 4294967292)",
      :per_page => 27

Basicly that returns products that match the keywords, so removing
fullscan has no effect.

If I remove the @similar_keywords, the function will return all the
results as expected (without the weight).. so this one has be stumped.

Thanks,
David.

-- 
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.

Reply via email to