You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2006/12/14 08:04:21 UTC

[jira] Commented: (SOLR-82) specify default values in the schema

    [ http://issues.apache.org/jira/browse/SOLR-82?page=comments#action_12458380 ] 
            
Hoss Man commented on SOLR-82:
------------------------------

only had a chance to skim the patch so far, and i think this aspect from the mailing list is going to be a real issue with indexing performance...

: The only change I might make is to have the schema store if it has fields
: with default values so that DocumentBuilder.getDoc() does not cycle through
: all fields if there aren't any.

... we can add a "Set<SchemaField> fieldsWithDefaults" to IndexSchema to quickly determine if there are any fields with defaults DocumentBuilder needs to check and what those fields are.


> 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