My patch does not support delta indexes yet, as I said above. At the moment I don't need deltas, since I'm working offline and on small sets.
I will implement deltas when I need them or when I have plenty of time. But I can not say when. On Nov 1, 4:58 pm, "Yury V. Novicov" <[email protected]> wrote: > Does it supports delta indices? > > My problem was that i couldnt perform proper result sorting depending on > exact match that is more relevant than partial. This kind of sorting might > be designed by using different indices with different match settings and > index weighting. So, I'd like to use something like > > define_index do > index_name 'price_list_row_exact' > set_property ...exact... > end > > define_index do > index_name 'price_list_row_prefix' > set_property ...prefix... > end > > And searching like > > Model.search :index => ['price_list_row_exact', 'price_list_row_prefix', ?? > 'price_list_row_exact_delta', ??price_list_row_prefix_delta'], > :index_weights => .... > > 2009/11/1 Johnny <[email protected]> > > > > > > > It works like this: > > define_index do > > index_name 'special_name' > > end > > > And in your searches do > > Modell.search :index => 'special_name', .... > > > On Oct 31, 4:02 pm, engeen <[email protected]> wrote: > > > Johny, you are great man! > > > Is there any description of the patch' functionality? > > > > On Oct 31, 4:47 pm, Johnny <[email protected]> wrote: > > > > > patch is herehttp:// > > github.com/johnny/thinking-sphinx/commit/c92830ac0c5c0beaec549... > > > > > On Oct 31, 2:44 pm, Johnny <[email protected]> wrote: > > > > > > I started implementing support for multiple indexes. > > > > > Currently it works only without updates and deltas. > > > > > > Jonas > > > > > > On Oct 20, 6:18 pm, Johnny <[email protected]> wrote: > > > > > > > Thank you for this idea. > > > > > > I will look into this and check if this works for me. ( I have to > > work > > > > > > with a legacy db) > > > > > > > On Oct 19, 6:06 pm, Martin Sarsale <[email protected]> > > wrote: > > > > > > > > I had to do something similar: I have different databases for the > > same > > > > > > > Models (one db for each country) and I wanted to index all of > > them. > > > > > > > What I did is: > > > > > > > 1) override Model.sphinx_name to reflect the current country > > (this > > > > > > > will make ThinkingSphinx use a different Sphinx index for the > > query) > > > > > > > 2) created a script that uses ThinkingSphinx for generating all > > the > > > > > > > config files (for different dbs) and merge them into a big sphinx > > > > > > > config. > > > > > > > > pretty hacky, seems to work good > > > > > > > > On Mon, Oct 19, 2009 at 12:53 PM, Pat Allan < > > [email protected]> wrote: > > > > > > > > > Nope, no progress thus far. Maybe in the next month, but I > > can't > > > > > > > > promise anything... > > > > > > > > > -- > > > > > > > > Pat > > > > > > > > > On 16/10/2009, at 3:43 PM, Johnny wrote: > > > > > > > > > > Hi, > > > > > > > > > > I need a way to define multiple indexes per table. One Index > > for every > > > > > > > > > language and it's stemmer. > > > > > > > > > > I found this old thread regarding this issue > > >http://groups.google.com/group/thinking-sphinx/browse_thread/thread/c... > > > > > > > > > > Has there been progress on this? > > > > > > > > -- > > > > > > > Martin Sarsale > > > > > > > msn: [email protected] > > > > > > > jabber: [email protected] > > > > > > > twitter:http://twitter.com/runixo > > > > > > > linkedin:http://www.linkedin.com/in/msarsale > > > > > > > sumavisos:http://www.sumavisos.com > > > > > > > blog:http://runa.tumblr.com > > -- > С уважением, Юрий В. Новиков > ========================= > [email protected] > ICQ #9087643 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
