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

Jan Høydahl commented on SOLR-11033:
------------------------------------

{quote}I'm not sure I'm sold on implict field types
{quote}
 
 I agree that "implicit" field types may be a bad idea, if they are just 
magically part of your schema without you seeing them. But a slight variation 
to this could be to have a "schema-templates" folder somewhere in the system, 
which can contain a number of JSON files with various pre-defined field-types. 
We'd put our language specific field type templates (cause that's what they 
are) in there, and when user adds a field in the Schema UI, those templates 
will be available in the "field type" dropdown, below a {{---templates---}} 
divider:

!add-field.png|width=500!

Selecting one of the templates would display a notice "Field type template 
'text_ca' will be added to your schema".

Would be cool if user got a chance to edit the field type template before 
addition. But we don't have a field type edit UI. Now that we have v2 API 
introspection it should be a whole lot easier to make such a "Add Field Type" 
and "Edit Field Type" buttons to the Schema panel in Admin UI, letting the user 
add/change filters in the UI, choosing among available analysis components 
through SPI lookup!

> Move out multi language field and fieldType to a separate example 
> ------------------------------------------------------------------
>
>                 Key: SOLR-11033
>                 URL: https://issues.apache.org/jira/browse/SOLR-11033
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: examples
>            Reporter: Varun Thacker
>            Priority: Major
>         Attachments: add-field.png
>
>
> The bulk of the schema file in the default configset has fieldType and 
> dynamic field definition for  different languages.  Based on the discussion 
> on SOLR-10967 if we move it to a separate config set and keep the default 
> configset english only then the size will be dramatically reduced and make 
> the schema file much more readable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to