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

Shawn Heisey commented on SOLR-16327:
-------------------------------------

This is the managed-schema.xml:
{code:xml}
 <?xml version="1.0" encoding="UTF-8"?><schema name="dovecot" version="2.0">  
<dynamicField name="*" type="string" indexed="false" stored="true"/>
  <field name="_root_" type="string" indexed="false" stored="false" 
docValues="false"/>  <fieldType name="string" class="solr.StrField" 
omitNorms="true" sortMissingLast="true" docValues="true"/>
  <fieldType name="long" class="solr.LongPointField" positionIncrementGap="0" 
docValues="true"/>
  <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" 
docValues="true"/>  <fieldType name="text" class="solr.TextField" 
autoGeneratePhraseQueries="true" positionIncrementGap="100">
    <analyzer type="index">
      <tokenizer class="solr.ICUTokenizerFactory"/>
      <filter class="solr.ICUFoldingFilterFactory"/>
      <filter class="solr.KeywordMarkerFilterFactory" 
protected="protwords.txt"/>
      <filter class="solr.WordDelimiterGraphFilterFactory" catenateNumbers="1" 
generateNumberParts="1" splitOnCaseChange="1" generateWordParts="1" 
splitOnNumerics="1" catenateAll="1" catenateWords="1"/>
      <filter class="solr.FlattenGraphFilterFactory"/>
      <filter class="solr.PorterStemFilterFactory"/>
    </analyzer>
    <analyzer type="query">
      <tokenizer class="solr.ICUTokenizerFactory"/>
      <filter class="solr.ICUFoldingFilterFactory"/>
      <filter class="solr.KeywordMarkerFilterFactory" 
protected="protwords.txt"/>
      <filter class="solr.SynonymGraphFilterFactory" expand="true" 
ignoreCase="true" synonyms="synonyms.txt"/>
      <filter class="solr.WordDelimiterGraphFilterFactory" catenateNumbers="1" 
generateNumberParts="1" splitOnCaseChange="1" generateWordParts="1" 
splitOnNumerics="1" catenateAll="1" catenateWords="1"/>
      <filter class="solr.PorterStemFilterFactory"/>
    </analyzer>
  </fieldType>  <field name="id" type="string" indexed="true" required="true" 
stored="true"/>
  <field name="uid" type="long" indexed="true" required="true" stored="true"/>
  <field name="box" type="string" indexed="true" required="true" stored="true"/>
  <field name="user" type="string" indexed="true" required="true" 
stored="true"/>  <field name="hdr" type="text" indexed="true" stored="false"/>
  <field name="body" type="text" indexed="true" stored="false"/>  <field 
name="from" type="text" indexed="true" stored="true"/>
  <field name="to" type="text" indexed="true" stored="true"/>
  <field name="cc" type="text" indexed="true" stored="true"/>
  <field name="bcc" type="text" indexed="true" stored="true"/>
  <field name="subject" type="text" indexed="true" stored="true"/>  <!-- Used 
by Solr internally: -->
  <field name="_version_" type="long" indexed="true" stored="true"/>  
<uniqueKey>id</uniqueKey>
</schema>
{code}
I have some jars in ${SOLR_HOME}/lib to enable ICU analysis components.  The 
synonyms file is all comments and the protwords.txt file only contains 
dontstems and zwhacky, which came from  the _default configset.

> Admin UI reports permission error if the request it made results in ANY 
> exception
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-16327
>                 URL: https://issues.apache.org/jira/browse/SOLR-16327
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI
>    Affects Versions: main (10.0)
>            Reporter: Shawn Heisey
>            Priority: Minor
>         Attachments: image-2022-08-06-15-36-24-158.png, screenshot-1.png, 
> solr9_ping_exception.txt
>
>
> A lot of the pages in the UI report permission errors even when the actual 
> problem is some other exception.  For this screenshot, I clicked first on the 
> Overview, and then on Ping ... there was a misconfig in the ping handler 
> where it was not declaring a default field, so the query generated an 
> exception which is attached to the issue.  I did not have a security.json 
> file.
> !image-2022-08-06-15-36-24-158.png|width=389,height=182!
> I also saw this on other things besides Ping when I was clicking around the 
> admin UI during a solr service restart.  The version info showing where the 
> git repo was when I compiled from branch_9x:
> 9.1.0-SNAPSHOT f1510b1f54ea9225df654e3aad0ca7da856c1f72 [snapshot build, 
> details omitted]
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to