without reading the whole thread:

1. you know that users have properties, right?
2. theses properties are like key value pairs. one could have a property like hobby: 'cars', another user might have a property like place-of-birth: 'Hamburg, Germany'
3. users might build their property key-value dynamically. You don't know which user chooses to inform you about which property
4. couldn't you use rubys reflection, inflection whatever features to iterate over the properties of which a user has many from and then inflect the key-value pairs to put them into the index?
5. this would mean that the field list of the index might grow to a great number. don't know how this would affect ferret. this further means that you need to know which fields one is able to search for. you would need to build something like an extended search form with all of these fields or inform the user about which fields he might use in his queries with effect. he should also be informed that only because of the existance of this field a user might not have provided this information. maybe it's only one user that informed you about his place-of-birth.

cheers,
Jan

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to