Hi Thibaut

MVA's are only for integers - so that'd only work if your tags are  
separate models, and you have an attribute for the foreign key.  
Otherwise, the space-separated tags is the best and simplest approach,  
I think.

Cheers

-- 
Pat

On 07/01/2009, at 4:28 PM, Thibaut Barrère wrote:

>
> Hi Christian,
>
> thanks for your reply.
>
>> The "clean" way to support tags would probably rely on multi- 
>> valued   attributes [1].
>
> Is it something that is supported by TS itself ? (I presume yes after
> reading the front page, but can't find more examples - are there
> examples somewhere ? (I found something more or less related here:
> http://groups.google.com/group/thinking-sphinx/browse_thread/thread/921b4ca4e27feb4c/46d2ce49a262ae06)
>
>> Ignoring this, and assuming your current data model, you should note
>> that Sphinx is a fulltext search engine. If your tags do not contain
>> spaces themselves, spaces would be a good separator. I think a format
>> such as "tag_1 tag_2 ... tag_N" would meet your needs.
>
> that could do the trick too, yes. Thanks for the hint!
>
> -- Thibaut
> >


--~--~---------~--~----~------------~-------~--~----~
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