<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Arial Unicode MS";
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@Arial Unicode MS";
panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=NO-BOK link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></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):<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></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*' <o:p></o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US>(Note the leading ~ character in the file name => temp file.)<o:p></o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US>and<o:p></o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US><o:p> </o:p></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 ! <o:p></o:p></span></p><p class=MsoNormal style='text-indent:35.4pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Does anyone know what’s going on here?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>My OpenCms version is 8.5.2.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Paul<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Example error message:<o:p></o:p></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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:101)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:79)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.update.DirectUpdateHandler2.deleteByQuery(DirectUpdateHandler2.java:317)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.update.processor.RunUpdateProcessor.processDelete(RunUpdateProcessorFactory.java:71)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.handler.XMLLoader.processDelete(XMLLoader.java:270)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:201)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:142)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:293)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:278)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.opencms.search.solr.CmsSolrIndexWriter.deleteDocuments(CmsSolrIndexWriter.java:156)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.opencms.search.CmsVfsIndexer.deleteResource(CmsVfsIndexer.java:301)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.opencms.search.CmsVfsIndexer.deleteResources(CmsVfsIndexer.java:91)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.opencms.search.CmsSearchManager.updateIndexIncremental(CmsSearchManager.java:2701)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.opencms.search.CmsSearchManager.updateIndexOffline(CmsSearchManager.java:2782)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.opencms.search.CmsSearchManager$CmsSearchOfflineIndexWorkThread.run(CmsSearchManager.java:578)<o:p></o:p></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 !<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.solr.search.QueryParsing.parseQuery(QueryParsing.java:91)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> ... 19 more<o:p></o:p></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 !<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.lucene.queryParser.QueryParser.Term(QueryParser.java:1432)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java:1319)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.lucene.queryParser.QueryParser.Query(QueryParser.java:1245)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.lucene.queryParser.QueryParser.TopLevelQuery(QueryParser.java:1234)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:206)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> ... 20 more</span><span style='font-size:8.0pt;color:#365F91'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>