: I wanted to add data from relational database tables.
: To avoid defining each and every table column name in the schema, I thought
: I'll append a suffix to the field name depending on it's type.

which is fine and dandy for when you index the data, mapping your "string"
database column "user", and your "int" database column "id" to the solr
dynamic fields "user_string" and "id_int" ...and i suppose you could make
a customized ResponseWriter that when writing out documents striped off
any suffixes it could tell came from dynamicFields so the response docs
contained <str name="user"> and <int name="id"> ... but when parsing the
query string your clients send, and they ask for "user:42" how would the
request handler know that it shoudl rewrite that to user_string:42 and not
user_int:42 ?



-Hoss

Reply via email to