On 8/13/2015 9:07 AM, Erick Erickson wrote: > No. But how do they default to "true"? In the fieldType? Which will be > potentially different for different fieldTypes, so as a matter of style I > prefer > to list them in the field definition. But that's not necessary.
I previously looked at the code for this, while doing preliminary research into default values for the parameter tables in the Reference Guide, and found that indexed and stored both default to "true" in the code. I looked at a few different data types, and don't recall any of them handling those two parameters differently than the base class. Other parameters are definitely handled differently in derivative classes, strongly affected by the schema version. Personally, I think it's best practice to explicitly define indexed and stored in schema.xml so that there is no ambiguity when someone needs to read and understand your configurations. Thanks, Shawn