I could create a list of field name + type, but doing so I might as well create it and add it to fields in schema.xml. Does solr reread the schema file when I post an add action or only on starup (or someother point)?
In general, I wonder if adding the suffix for dynamic fields is not posing some usability tradeoff. I think, For a user (not a programmer) it's not intuitive to think of id as an integer and therefore enter id_i when searching, what do you think? Chris Hostetter wrote: > > > 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 > > > -- View this message in context: http://www.nabble.com/SQL-Update-tf3358303.html#a9372391 Sent from the Solr - User mailing list archive at Nabble.com.