Re: applicability of schema on document

2014-09-28 Thread Alexandre Rafalovitch
Anurag, Just answering your three emails on two emailing lists. You seem to want to jump into the middle of Solr and then dig your way both ways. So, your question here is a mix of very basic and unnecessarily complicated. Specifically, you seem to be missing a link between schema.xml and solrcon

applicability of schema on document

2014-09-27 Thread Anurag Sharma
I am trying to understand how the schema and it's field types gets applied to a document. Is it based on a document Id e.g. how to specify solr to store fields like age as integer, dateofbirth as date but not as a string or vice versa. Also, is it possible to change the field type at runtime? Dire