Hi Thibaut

The "clean" way to support tags would probably rely on multi-valued attributes [1].

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.

Christian

[1] http://www.sphinxsearch.com/docs/current.html#mva


On 6 Jan 2009, at 10:13, Thibaut Barrère wrote:

Hello,

just thinking out loud, I'd appreciate some feedback from more experienced users.

Is there some thinking-sphinx way to filter output on tags that would be kept inside one column as a string (like "tag,tag1,tag2") instead of having it stored inside a separate table like with more classing tagging systems ?

Or should I use some formatting like "[tag1][tag2][tag3]" then a full text search on the corresponding index ?

thanks,

Thibaut Barrère
--
[blog] http://evolvingworker.com - tools for a better day
[blog] http://blog.logeek.fr - about writing software

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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to