You can use the dynamic fields feature of Solr to map unknown field names to types.
For example, a dynamic field named as "*_s" i.e. any field name ending with _s can be mapped to string and so on. In your cases, if your field names do not follow a set pattern, then you can even specify a dynamic field as "*" and map it to text type. See https://cwiki.apache.org/confluence/display/solr/Dynamic+Fields On Tue, Sep 3, 2013 at 12:00 PM, Jai <jai4l...@gmail.com> wrote: > hi, > > while indexing document with unknown fields, its adding unknown fields in > schema but its always guessing it as string type. is it possible to specify > default field type for unknown fields to some other type, like text so that > it gets tokenized? also can we specify other properties by default like > indexed/stored/multivalued? > > PS am using solr4.2. > > Thanks alot. > Jai -- Regards, Shalin Shekhar Mangar.