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

Andrzej Bialecki edited comment on SOLR-18680 at 12/3/26, 9:27 AM:
-------------------------------------------------------------------

I must confess that I have a tendency to use as short names as possible :) as 
long as they are unambiguous ... and naming things is often contentious.

But looking at how we already use {{meta=true}} for field package information 
(\{{GetSchemaField:202}}) I'm reconsidering the naming of {{{}withMeta{}}}, 
perhaps it should be {{withMetadata}} or {{includeMetadata}} as originally 
proposed for better disambiguation. Package info metadata serves different 
purpose than semantic metadata in these tickets so IMHO it should be guarded by 
a separate switch and not rolled into one.

[~isaric] , [~epugh] any opinion on this?


was (Author: ab):
I must confess that I have a tendency to use as short names as possible :) as 
long as they are unambiguous ... and naming things is often contentious.

But looking at how we already use {{meta=true}} for package information I'm 
reconsidering the naming of {{{}withMeta{}}}, perhaps it should be 
{{withMetadata}} or {{includeMetadata}} as originally proposed for better 
disambiguation.

[~isaric] , [~epugh] any opinion on this?

> 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