Hi Jochen, I think, it depends what do you need :
First : Sort result by custom alphabetical Prefer sort 'letters' than numbers Fondant a Fondant b Fondant special Fondant z Fondant 1 Fondant 2 Fondant 3 Fondant 4 Fondant 5 I think Sphinx have an option to sort the results in specificate Locale. Second, You want just "Fondant special" and something others words in the top. I think, it could be done by field_weights, Ryan Bates make a screencast to explain that. http://railscasts.com/episodes/120-thinking-sphinx Mickaël. On Mar 23, 3:49 pm, Jochen Kaechelin <[email protected]> wrote: > Let's say the user searches for "fondant" and a "normal" > Product.search .... > shows the results ordered by the product name ... > > Fondant 1 > Fondant 2 > Fondant 3 > Fondant special > . > . > . > > How can I force sphinx/ts to show "Fondant special" always on top of > the search results when > the user searches for "fondant"? > > Thanx > > -- > Jochen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
