Lucene Query Parser Exception: 02090025 Request failed 500

cancel
Showing results for 
Search instead for 
Did you mean: 
brijeshnk
Established Member

Lucene Query Parser Exception: 02090025 Request failed 500

guys, 

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 .

String query=  "PATH:\"/app:company_home/st:sites\")";
ResultSet rs = null;
LOG.info("encodedQueryString :: " + query);
try {
     rs = serviceRegistry.getSearchService().query(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE,
				SearchService.LANGUAGE_LUCENE, query);
}catch (Exception e) {					
					

Error stack  I get as follows  , any idea why is this error

Spoiler
2020-03-09 15:48:00,271 INFO [com.uia.archive.movedata.MoveMonthlyDataRunner] MoveMonthilyDataThreadRunner::getMonthNodeReference:Smiley Tonguearameterised 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)