You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Some searches do not work with special characters like "/", ")".
An example is the File artifact has value M/M_M) in the Notes fields. Perform a search on value M/M_M) from the File search menu - no matches. If you use quotes around the search value it works like "M/M_M)"
Affected Product Version:
wso2greg-5.3.0
Steps to reproduce:
Created a file in the Publisher
Added note with special characters, Test-M/M_M).
When we searched for M/M_M) and Test-M/M_M) we didn't get any output.
Furthermore, we also got the following error message in the wso2carbon.log file.
[2020-06-01 20:19:48,898] ERROR {org.wso2.carbon.registry.indexing.service.ContentBasedSearchService} - Invalid Search Query, query contains invalid characters
org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: Cannot parse 'overview_name_s:*m/m_m)* OR *m/m_m)*': Encountered " ")" ") "" at line 1, column 22.
Was expecting one of:
<EOF>
<AND> ...
<OR> ...
<NOT> ...
"+" ...
"-" ...
<BAREOPER> ...
"(" ...
"*" ...
"^" ...
<QUOTED> ...
<TERM> ...
<FUZZY_SLOP> ...
<PREFIXTERM> ...
<WILDTERM> ...
<REGEXPTERM> ...
"[" ...
"{" ...
<LPARAMS> ...
<NUMBER> ...
.
.
.
Caused by: org.apache.solr.search.SyntaxError: Cannot parse 'overview_name_s:*m/m_m)* OR *m/m_m)*': Encountered " ")" ") "" at line 1, column 22.
Was expecting one of:
<EOF>
<AND> ...
<OR> ...
<NOT> ...
"+" ...
"-" ...
<BAREOPER> ...
"(" ...
"*" ...
"^" ...
<QUOTED> ...
<TERM> ...
<FUZZY_SLOP> ...
<PREFIXTERM> ...
<WILDTERM> ...
<REGEXPTERM> ...
"[" ...
"{" ...
<LPARAMS> ...
<NUMBER> ...
at org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:155)
at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50)
at org.apache.solr.search.QParser.getQuery(QParser.java:141)
at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:203)
... 114 more
Caused by: org.apache.solr.parser.ParseException: Encountered " ")" ") "" at line 1, column 22.
The text was updated successfully, but these errors were encountered:
Description:
Some searches do not work with special characters like "/", ")".
An example is the File artifact has value M/M_M) in the Notes fields. Perform a search on value M/M_M) from the File search menu - no matches. If you use quotes around the search value it works like "M/M_M)"
Affected Product Version:
wso2greg-5.3.0
Steps to reproduce:
Furthermore, we also got the following error message in the wso2carbon.log file.
The text was updated successfully, but these errors were encountered: