[ 
https://issues.apache.org/jira/browse/SOLR-13968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17807878#comment-17807878
 ] 

David Smiley commented on SOLR-13968:
-------------------------------------

[~broustant]
org.apache.solr.schema.SchemaField#getPostingsFormat is only called by a test, 
thus it's not actually used as we want.  SchemaCodecFactory creates a Codec 
implementation that calls schemaField.getType().getPostingsFormat that should 
get the postings format directly from the field.

> Support postingsFormat and docValuesFormat in schema fields
> -----------------------------------------------------------
>
>                 Key: SOLR-13968
>                 URL: https://issues.apache.org/jira/browse/SOLR-13968
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Bruno Roustant
>            Assignee: Bruno Roustant
>            Priority: Minor
>             Fix For: 8.4
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Currently it is only possible to declare the postingsFormat and/or 
> docValuesFormat in a FieldType of the schema.
> This PR changes SchemaField to also allow us to declare (and override) in 
> each Field individually.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to