Solr 4.2 update/extract adding unknown field, can we change field type from string to text

2013-09-03 Thread Jai
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

Re: Solr 4.2 update/extract adding unknown field, can we change field type from string to text

2013-09-03 Thread Shalin Shekhar Mangar
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

Re: Solr 4.2 update/extract adding unknown field, can we change field type from string to text

2013-09-03 Thread Chris Hostetter
Your email is vague in terms of what you are actually *doing* and what behavior you are seeing. Providing specific details like This is my schema.xml and this is my solrconfig.xml; when i POST this file to this URL i get this result and i would instead like to get this result is useful for