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

Eric Pugh commented on SOLR-11033:
----------------------------------

Poking at schema designer more.....    Instead of using _default, I am makeing 
a new one off a much more trimmed down one from the Chorus project.    And I 
get this error:

 !screenshot-2.png! 

Which makes sense, the Chorus 
https://github.com/querqy/chorus/blob/main/solr/configsets/ecommerce/conf/schema.xml
 has no pint!

DefaultSchemaSuggestor.java has this todo:
    if (fieldType == null) {
      // TODO: construct this field type on-the-fly ...
      throw new IllegalStateException("FieldType '" + fieldTypeName + "' not 
found in the schema!");
    }

Looking more, DefaultSchemaSuggestor definitly makes some assumptions in it's 
guessFieldType that it's workign with a a _default configset based on the 
patterns it is using.

So...   are we back to the kitchen sink?   What if _default is narrow, but 
there is also the kitchen_sink?   Or, maybe as Jan suggested, some sort of set 
of sample configs that the schema designer could suck in?   

Another idea is that maybe if we have _default and multilingual configsets, 
could the Schema Designer bring in the language specific fields FROM the 
multilingual configset, and then inject those configs into your new schema?   
THen...  maybe we have a world that looks like _default, multilingual, 
geosearch etc...???   And schema designer can access them all for your NEW 
schema?

> 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
>          Components: examples
>            Reporter: Varun Thacker
>            Assignee: Eric Pugh
>            Priority: Major
>         Attachments: add-field.png, screenshot-1.png, screenshot-2.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)

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

Reply via email to