<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Strange Lucene search exception in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/strange-lucene-search-exception/m-p/256177#M209307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was planning to do this, but since it is a production environment I will tell our sys admins to re-build indexes this weekend and I'll come back with the comment on Monday.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Feb 2011 08:36:30 GMT</pubDate>
    <dc:creator>jcustovic</dc:creator>
    <dc:date>2011-02-04T08:36:30Z</dc:date>
    <item>
      <title>Strange Lucene search exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/strange-lucene-search-exception/m-p/256175#M209305</link>
      <description>When using lucene search to get nodes I get strange Exception.I tried 2 methods for searching but both produce this exception.First code:…String searchString = "+EXACTTYPE:\"{mtbsVC.model}Deal\" +@mtbsVC\\&lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;ealStatus:\"Active\"";Query query = new Query(Constants.QUERY_LANG_LUCENE, searchString);Node</description>
      <pubDate>Thu, 03 Feb 2011 15:23:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/strange-lucene-search-exception/m-p/256175#M209305</guid>
      <dc:creator>jcustovic</dc:creator>
      <dc:date>2011-02-03T15:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Lucene search exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/strange-lucene-search-exception/m-p/256176#M209306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Most interesting thing is that we have several alfresco systems up and only one of them is producing this kind of exception for the same search.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;It could be a problem of Lucene indexes, have you tried to regenerate indexes?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 15:49:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/strange-lucene-search-exception/m-p/256176#M209306</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-02-03T15:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Lucene search exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/strange-lucene-search-exception/m-p/256177#M209307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was planning to do this, but since it is a production environment I will tell our sys admins to re-build indexes this weekend and I'll come back with the comment on Monday.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 08:36:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/strange-lucene-search-exception/m-p/256177#M209307</guid>
      <dc:creator>jcustovic</dc:creator>
      <dc:date>2011-02-04T08:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Strange Lucene search exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/strange-lucene-search-exception/m-p/256178#M209308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We replicated the system and I did some research. In found out that one node is causing problems and had nothing to do with rebuilding the indexes. Error in catalina.out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;java.io.IOException: java.io.IOException: java.lang.IllegalArgumentException: The char '0xb' after 'Company building the ultimate place for music in the Czech Republic &amp;amp; Slovakia and ' is not a valid XML character.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.Message.writeTo(Message.java:535)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.Thread.run(Thread.java:619)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And the original text that caused the problem is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Company building the ultimate place for music in the Czech Republic &amp;amp; Slovakia and&amp;nbsp; beyond by offering high quality music streaming service and related offerings. Content is delivered in cooperation with major music labels. The model based on successful examples&amp;nbsp; (e.g. Spotify).&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try c/p this text to notepad or some text editor and you will notice strange character in front of "beyond" and "(e.g. Spotify)". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This is causing the problem and that node which had this text couldn't be accessed using web service (not by getNode, lucene search or any way) because server couldn't produce a valid XML. After manually removing those character from that text everything worked fine.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure if this is alfresco problem and can it be improved?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 11:18:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/strange-lucene-search-exception/m-p/256178#M209308</guid>
      <dc:creator>jcustovic</dc:creator>
      <dc:date>2011-02-04T11:18:35Z</dc:date>
    </item>
  </channel>
</rss>

