Thanks Pat. I was hoping it would be that easy and with Thinking Sphinx it usually is. Not sure how I missed that :)
Tom On Aug 26, 5:09 pm, Pat Allan <[email protected]> wrote: > It is indeed possible - something along the lines of the following > should do the trick (as many column references as you like, in an > array). > > indexes [description, tags(:name)], :as => :description_and_tags > > -- > Pat > > On 26/08/2009, at 7:54 PM, Tom Davies wrote: > > > > > A quick search didn't turn up an answer so I am hoping someone knows > > if this is possible with Sphinx / Thinking Sphinx. I would like to > > merge data from many fields into one search field. I know SOLR / > > Lucene supports this just not sure how to do it in Sphinx. > > > For an example, say I have an item with a description and many tags. > > I would like to concatenate both the description and tags into the > > same field in Sphinx so I can give them equal weight w/out skewing > > results in favor of items that have both a description and tag > > match. > > > Is this possible? > > > Thanks, > > Tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
