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

David Eric Pugh commented on SOLR-15763:
----------------------------------------

Would you be interested in raising a Pull Request for this change and tag me 
and I'll happily merge it for you.    Check out 
[https://cwiki.apache.org/confluence/display/SOLR/HowToContribute] and ask me 
questions ;)    I love these fixes!

> Documentation error
> -------------------
>
>                 Key: SOLR-15763
>                 URL: https://issues.apache.org/jira/browse/SOLR-15763
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: contrib - Solr Cell (Tika extraction)
>    Affects Versions: 8.10
>         Environment: Docker image of Solr 8.1 running on Ubuntu 20.04
>            Reporter: FrancescoMalluzzo
>            Priority: Major
>              Labels: docs, solr-cell, tika
>         Attachments: error  in ui 2021-11-03 11-42-01.png
>
>
> In [this 
> page|https://solr.apache.org/guide/8_10/uploading-data-with-solr-cell-using-apache-tika.html#configuring-the-extractingrequesthandler-in-solrconfig-xml]
>  there is the procedure to configure the ExtractingRequestHandler but, 
> probably a typo, in the section of schema defining with URPs there's an error.
> {code:java}
> <requestHandler name="/update/extract"
>                 startup="lazy"
>                 class="solr.extraction.ExtractingRequestHandler" >
>   <lst name="defaults">
>     <str name="lowernames">true</str>
>     <str name="fmap.content">_text_</str>
>     <str 
> name="processor">uuid,remove-blank,field-name-mutating,parse-boolean,parse-long,parse-double,parse-date</processor>
>   </lst>
> </requestHandler>
> {code}
> The last string in the lst is closed with tag _processor,_ while it should be 
> _str_.
>  
> The logging report is reported here:
> {code:java}
> Exception during parsing file: solrconfig.xml:org.xml.sax.SAXParseException; 
> systemId: solrres:/solrconfig.xml; lineNumber: 937; columnNumber: 115; The 
> element type "str" must be terminated by the matching end-tag "</str>".
>       at 
> java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
>  Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown 
> Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown 
> Source)
>       at 
> java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown
>  Source)
>       at org.apache.solr.core.XmlConfigFile.<init>(XmlConfigFile.java:140)
>       at org.apache.solr.core.XmlConfigFile.<init>(XmlConfigFile.java:87)
>       at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:173)
>       at 
> org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:149)
>       at 
> org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:111)
>       at 
> org.apache.solr.core.ConfigSetService.loadConfigSet(ConfigSetService.java:82)
>       at 
> org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1302)
>       at 
> org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:802)
>       at 
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:202)
>       at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
>       at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:210)
>       at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
> Source)
>       at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
> Source)
>       at java.base/java.lang.Thread.run(Unknown Source)
> {code}
> At the end, using _str_ to close the tag all goes well.
> This is my first issue reporting, hope this will help.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to