[ 
https://issues.apache.org/jira/browse/SOLR-18680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrzej Bialecki updated SOLR-18680:
------------------------------------
    Description: 
The Schema API commands ({{add-field, replace-field, add-dynamic-field, 
replace-dynamic-field, add-field-type, replace-field-type}}) should accept 
additional metadata.

The {{GET /schema/fields}}, {{/dynamicfields}} and {{/fieldtypes}} endpoints 
return metadata as a JSON object, not as strings flattened by {{json.nl}}. A 
new {{withMeta}} parameter, default true, should control this. A 
{{replace-field}} that changes only metadata should inform in its response that 
no reindex is needed.

This part depends on Part 1, and uses the validation from Part 2 on incoming 
requests. It also needs tests for the v1 and v2 API paths and for the 
{{withMeta}} toggle.

  was:
The Schema API commands ({{add-field, replace-field, add-dynamic-field, 
replace-dynamic-field, add-field-type, replace-field-type}}) should accept 
additional metadata.

The {{{}GET /schema/fields{}}}, {{/dynamicfields}} and {{/fieldtypes}} 
endpoints return metadata as a JSON object, not as strings flattened by 
{{{}json.nl{}}}. A new {{includeMetadata}} parameter, default true, should 
control this. A {{replace-field}} that changes only metadata should inform in 
its response that no reindex is needed.

This part depends on Part 1, and uses the validation from Part 2 on incoming 
requests. It also needs tests for the v1 and v2 API paths and for the 
{{includeMetadata}} toggle.


> Part 3: Expose schema metadata in the Schema API (read and write)
> -----------------------------------------------------------------
>
>                 Key: SOLR-18680
>                 URL: https://issues.apache.org/jira/browse/SOLR-18680
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Andrzej Bialecki
>            Assignee: Andrzej Bialecki
>            Priority: Major
>
> The Schema API commands ({{add-field, replace-field, add-dynamic-field, 
> replace-dynamic-field, add-field-type, replace-field-type}}) should accept 
> additional metadata.
> The {{GET /schema/fields}}, {{/dynamicfields}} and {{/fieldtypes}} endpoints 
> return metadata as a JSON object, not as strings flattened by {{json.nl}}. A 
> new {{withMeta}} parameter, default true, should control this. A 
> {{replace-field}} that changes only metadata should inform in its response 
> that no reindex is needed.
> This part depends on Part 1, and uses the validation from Part 2 on incoming 
> requests. It also needs tests for the v1 and v2 API paths and for the 
> {{withMeta}} toggle.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to