Alexandre Rafalovitch commented on SOLR-8370:

I've applied this patch and can see both global and field-local displays. 
However, the patch breaks for dynamic fields (e.g. author_s with techproducts 
Error: data.types[data.fields[name].type] is undefined

I am not 100% sure I understand the similarity issues, so the following may not 
make sense.  I am using the 3 examples from 
https://cwiki.apache.org/confluence/display/solr/Other+Schema+Elements (after 
fixing the syntax errors):  

* In the global similarity section, The tooltip seems to always say: 
*o.a.s.search.similarities.SchemaSimilarityFactory$1* whatever similarity I 
configure. The field similarity tooltip seems correct.
* I am not sure what *Default* means in  "SchemaSimilarity. Default: DFR 
I(F)B3(900.0)" and "SchemaSimilarity. Default: BM25(k1=1.2,b=0.75)" They can't 
both (and should neither) be default. Was it supposed to mean "Global". In 
which case that may be better going into the title label, as the content in 
that section of UI will always be global/default.
* The displayed summary of the Similarity parameters does not seem to quite 
match the definition. Specifically, the *normalization* value (H3) gets merged 
into previous/specific parameter (here B3). That may be correct though, I just 
don't know enough.

> Display Similarity Factory in use in Schema-Browser
> ---------------------------------------------------
>                 Key: SOLR-8370
>                 URL: https://issues.apache.org/jira/browse/SOLR-8370
>             Project: Solr
>          Issue Type: Improvement
>          Components: UI
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>            Priority: Trivial
>              Labels: newdev
>             Fix For: 6.3, master (7.0)
>         Attachments: SOLR-8370.patch, SOLR-8370.patch, SOLR-8370.patch, 
> SOLR-8370.patch, SOLR-8370.patch, SOLR-8370.patch, screenshot-1.png, 
> screenshot-2.png, screenshot-3.png, screenshot-4.png
> Perhaps the Admin UI Schema browser should also display which 
> {{<similarity>}} that is in use in schema, like it does per-field.

This message was sent by Atlassian JIRA

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

Reply via email to