Hi Matthew Unfortunately, this is how Sphinx behaves. Perhaps it’s worth raising the issue on the Sphinx forum instead, see if anyone there has some wisdom? http://sphinxsearch.com/forum/index.html
The underlying query would be “@name Multi-Auto-Date” (no point talking TS syntax there, most aren’t familiar with it). — Pat On 18 Dec 2013, at 5:11 am, Matthew Hinton <[email protected]> wrote: > I have the following query which does not order the results in the way I > expect. > > results = PublisherProject.search(:conditions => {:name => > "Multi-Auto-Date"}, :with => {:publisher_id => [16]}) > > I would expect the PublisherProject with the name "Multi-Auto-Date" to be > first but it comes after the PublisherProject with the name "Copy of > Multi-Auto-Date". So the non-exact match comes before the exact match. What > am I doing wrong? > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/thinking-sphinx. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/groups/opt_out.
