[ http://issues.apache.org/jira/browse/SOLR-82?page=all ]
Ryan McKinley updated SOLR-82: ------------------------------ Attachment: defaultValuesPatch.patch This modifies SchemaField.java to keep a "defaultValue" and DocumentBuilder.java makes sure they exist when returning the document. The test is not totally adequate (i'm not so good with XPath yet..) but it does make sure a date specified in the schema exists > specify default values in the schema > ------------------------------------ > > Key: SOLR-82 > URL: http://issues.apache.org/jira/browse/SOLR-82 > Project: Solr > Issue Type: Improvement > Components: update > Reporter: Ryan McKinley > Priority: Minor > Attachments: defaultValuesPatch.patch > > > It would be nice to specify a default value for a given field in the schema. > Chris Hostetter suggested this in: > http://www.mail-archive.com/solr-user@lucene.apache.org/msg01564.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira