Spoke to soon!

This also happens on my production server :( just it was able to match
more products with the keywords i was looking for (due to stops).

Does anyone know how I can check to make sure :fullscan is being sent
to sphinx.

Also, is there a command line option for fullscan?

Thanks,
David Bennett.

On Jun 17, 12:11 pm, complistic <[email protected]> wrote:
> Hey,
>
> Just an update...
>
> This only happens on my development server :O  ...all works fine on my
> production server.
>
> So I'm guessing its something sphinx or environment related.
>
> development:
>  ubuntu Natty
>  sphinx: 2.0.1-beta (from source)
> production:
>  debian Squeeze
>  sphinx: 2.0.1-beta (from source)
>
> Thanks,
> David Bennett
>
> On Jun 16, 10:27 pm, complistic <[email protected]> wrote:
>
>
>
>
>
>
>
> > 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