a problem with SimplePostTool
Hello there, I got this problem while running multiple instances of a solr indexer, only one instance succeeds but the others fail with the following exception, can u help me in solving it? SimplePostTool: FATAL: Solr returned an error: ParseError at [row,col]:[6,44] Me ssage: An invalid XML character (Unicode: 0x1f) was found in the element content of the document. javax.xml.stream.XMLStreamException: ParseError at [row,col]: [6,44] Message: An invalid XML character (Unicode: 0x1f) was found in the elemen t content of the document. at com.sun.org.apache.xerces.internal.impl.XMLStrea mReaderImpl.next(XMLStreamReaderImpl.java:588) at org.apache.solr.handler.XmlU pdateRequestHandler.readDoc(XmlUpdateRequestHandler.java:318) at org.apache.so lr.handler.XmlUpdateRequestHandler.processUpdate(XmlUpdateRequestHandler .java:19 5) at org.apache.solr.handler.XmlUpdateRequestHandler.handleRequestBody(XmlUpd ateRequestHandler.java:123) at org.apache.solr.handler.RequestHandlerBase.hand leRequest(RequestHandlerBase.java:78) at org.apache.solr.core.SolrCore.execute (SolrCore.java:807) at org.apache.solr.servlet.SolrDispatchFilter.execute(Solr DispatchFilter.java:206) at org.apache.solr.servlet.SolrDispatchFilter.doFilte r(SolrDispatchFilter.java:174) at org.apache.catalina.core.ApplicationFilterCh ain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.c ore.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.ap ache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java :210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.jav a:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportVal ve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEn gineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(Coy oteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http1 1Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11Conn ectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tom cat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.ap ache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWork erThread .java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thr eadPool.java:685) at java.lang.Thread.run(Thread.java:619) Thanks in advance Heba Farouk
Re: a problem with SimplePostTool
check the character at row 6, column 44 of the xml you are sending... it is probably some invalid character. > SimplePostTool: FATAL: Solr returned an error: ParseError at > [row,col]:[6,44] ryan Heba Farouk wrote: Hello there, I got this problem while running multiple instances of a solr indexer, only one instance succeeds but the others fail with the following exception, can u help me in solving it? SimplePostTool: FATAL: Solr returned an error: ParseError at [row,col]:[6,44] Me ssage: An invalid XML character (Unicode: 0x1f) was found in the element content of the document. javax.xml.stream.XMLStreamException: ParseError at [row,col]: [6,44] Message: An invalid XML character (Unicode: 0x1f) was found in the elemen t content of the document. at com.sun.org.apache.xerces.internal.impl.XMLStrea mReaderImpl.next(XMLStreamReaderImpl.java:588) at org.apache.solr.handler.XmlU pdateRequestHandler.readDoc(XmlUpdateRequestHandler.java:318) at org.apache.so lr.handler.XmlUpdateRequestHandler.processUpdate(XmlUpdateRequestHandler .java:19 5) at org.apache.solr.handler.XmlUpdateRequestHandler.handleRequestBody(XmlUpd ateRequestHandler.java:123) at org.apache.solr.handler.RequestHandlerBase.hand leRequest(RequestHandlerBase.java:78) at org.apache.solr.core.SolrCore.execute (SolrCore.java:807) at org.apache.solr.servlet.SolrDispatchFilter.execute(Solr DispatchFilter.java:206) at org.apache.solr.servlet.SolrDispatchFilter.doFilte r(SolrDispatchFilter.java:174) at org.apache.catalina.core.ApplicationFilterCh ain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.c ore.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.ap ache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java :210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.jav a:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportVal ve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEn gineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(Coy oteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http1 1Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11Conn ectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tom cat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.ap ache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWork erThread .java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thr eadPool.java:685) at java.lang.Thread.run(Thread.java:619) Thanks in advance Heba Farouk
Indexing multiple selects
Hi, In the web application we are developing a user can add the the proficiency of a given language such as English:- Reading, Good Writing, Average Speaking, Good French:-Reading, Good Writing, Average Speaking, Good The user can add as many languages as he likes. The language is part of the resume the user creates. I would like to store the resume and search the resumes. Please explain to me how I can add more than one language and reading, writing, speaking abilities also to the language. Thanks -- Gavin Selvaratnam, Project Leader hSenid Mobile Solutions Phone: +94-11-2446623/4 Fax: +94-11-2307579 Web: http://www.hSenidMobile.com Make it happen Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. The content and opinions contained in this email are not necessarily those of hSenid Software International. If you have received this email in error please contact the sender.