I get LUCENE query parser error as follows , the same code is working perfectly fine other environment . Is there any thing wrong in the code or query mentioned below. Query is simple PATH query .
2020-03-09 15:48:00,271 INFO [com.uia.archive.movedata.MoveMonthlyDataRunner] MoveMonthilyDataThreadRunner::getMonthNodeReference:arameterised encodedQueryString :: PATH:"/app:company_home/st:sites") 2020-03-09 15:48:17,162 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.com.uia.archive.movedata.jobDetail threw an unhandled Exception: org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 02090025 Request failed 500 /solr4/alfresco/alfresco?wt=json&fl=DBID%2Cscore&rows=1000&df=TEXT&start=0&locale=en_GB&alternativeDic=DEFAULT_DICTIONARY&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.postQuery(SolrQueryHTTPClient.java:1159) at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.postSolrQuery(SolrQueryHTTPClient.java:1109) at org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:576) at org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:58) at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:355) at org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:159) at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:73) at org.alfresco.repo.search.AbstractSearcherComponent.query(AbstractSearcherComponent.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:79) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy25.query(Unknown Source)
We use cookies on this site to enhance your user experience
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.