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

Alexandre Rafalovitch commented on SOLR-8370:
---------------------------------------------

I am not sure if I am applying the correct patch, but I am still getting 
strange behavior from Luke handler that propagates all the way to the UI. 
Specifically, using the last example from: 
https://cwiki.apache.org/confluence/display/solr/Other+Schema+Elements

The request 
http://localhost:8983/solr/techproducts/admin/luke?_=1476820097532&show=schema&wt=json
 returns: 
* The global similarity as: 
{noformat}
    "similarity":{
      
"className":"org.apache.solr.search.similarities.SchemaSimilarityFactory$1",
      "details":"SchemaSimilarity. Global: DFR I(F)B3(900.0)"},
{noformat}

* And the type similarity for text_dfr as:
{noformat}
"similarity":{
          "className":"org.apache.lucene.search.similarities.DFRSimilarity",
          "details":"DFR I(F)B3(900.0)"}},
{noformat}

They *should* be the same as far as I can tell. And, when I said "Global", I 
meant that we don't need to say anything at all in the API, as it is clear from 
just the level of the Similarity key. I meant to change the Angular UI to say 
"Global similarity" instead of just "Similarity".


> 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, SOLR-8370.patch, 
> screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png, 
> screenshot-5.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
(v6.3.4#6332)

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

Reply via email to