<div dir="ltr"><div><div>Hi Paul,<br><br></div>I'd suggest disabling the index creation (e.g. set it to rebuild manual or change the index resources temporarily), publishing again, then rebuild the index completely new.<br>
<br></div>HTH,<br>Stephan<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-11 9:34 GMT+02:00 Paul-Inge Flakstad <span dir="ltr"><<a href="mailto:flakstad@npolar.no" target="_blank">flakstad@npolar.no</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="NO-BOK"><div><p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I keep getting a lot of errors like in the example below shortly after publishing (below, the resource /sites/np/no/nyheter/2012/2012-05-02-albedo.html had just been published), I assume as OpenCms is updating the search index.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">What I can’t figure out, is *why* the error is triggered. However it looks like it has something to do with the temporary file (and/or some system-generated fuzzy query):<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">Cannot parse 'path:/sites/np/no/nyheter/2012/~2012-05-02-albedo.html*' <u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">(Note the leading ~ character in the file name => temp file.)<u></u><u></u></span></p><p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US">and<u></u><u></u></span></p><p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-indent:35.4pt">
<span lang="EN-US">Minimum similarity for a FuzzyQuery has to be between 0.0f and 1.0f ! <u></u><u></u></span></p><p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal">
<span lang="EN-US">Does anyone know what’s going on here?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">My OpenCms version is 8.5.2.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Cheers,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Paul<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Example error message:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">11 Apr 2014 09:13:42,973 ERROR [ache.solr.common.SolrException: 161] org.apache.solr.common.SolrException: Error parsing Lucene query<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:101)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:79)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.update.DirectUpdateHandler2.deleteByQuery(DirectUpdateHandler2.java:317)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.update.processor.RunUpdateProcessor.processDelete(RunUpdateProcessorFactory.java:71)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.handler.XMLLoader.processDelete(XMLLoader.java:270)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:201)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:142)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:293)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:278)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.search.solr.CmsSolrIndexWriter.deleteDocuments(CmsSolrIndexWriter.java:156)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.opencms.search.CmsVfsIndexer.deleteResource(CmsVfsIndexer.java:301)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.search.CmsVfsIndexer.deleteResources(CmsVfsIndexer.java:91)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.opencms.search.CmsSearchManager.updateIndexIncremental(CmsSearchManager.java:2701)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.opencms.search.CmsSearchManager.updateIndexOffline(CmsSearchManager.java:2782)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.opencms.search.CmsSearchManager$CmsSearchOfflineIndexWorkThread.run(CmsSearchManager.java:578)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse 'path:/sites/np/no/nyheter/2012/~2012-05-02-albedo.html*': Minimum similarity for a FuzzyQuery has to be between 0.0f and 1.0f !<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:91)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> ... 19 more<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Caused by: org.apache.lucene.queryParser.ParseException: Minimum similarity for a FuzzyQuery has to be between 0.0f and 1.0f !<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1432)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1319)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1245)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1234)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206)<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> ... 20 more</span><span style="font-size:8.0pt;color:#365f91"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>