Dynamic fields with Thinking Sphinx
Posted
by Ola Karlsson
on Stack Overflow
See other posts from Stack Overflow
or by Ola Karlsson
Published on 2010-04-21T21:02:18Z
Indexed on
2010/04/21
22:23 UTC
Read the original article
Hit count: 543
Hi!
I'm building an application where I have products and categories. Category has_many properties and each property has a list of possible values. After a category is set to the product all properties show up in the form and the user can set that property to one of the properties possible values.
My question is:
Is it possible for Thinking Sphinx to filter the products through a property and property value ex:
:with => {:property_id => property_value}
If it's possible, what is the best way to implement this? If not is there any other library out there to solve this problem?
Thanks
/ Ola
© Stack Overflow or respective owner