You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Nitin Gupta (Jira)" <ji...@apache.org> on 2022/07/29 10:28:00 UTC

[jira] [Commented] (OAK-9870) Fulltext Query with "}" fails in case of elasticsearch

    [ https://issues.apache.org/jira/browse/OAK-9870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17572911#comment-17572911 ] 

Nitin Gupta commented on OAK-9870:
----------------------------------

[https://github.com/apache/jackrabbit-oak/pull/643] 

> Fulltext Query with "}" fails in case of elasticsearch
> ------------------------------------------------------
>
>                 Key: OAK-9870
>                 URL: https://issues.apache.org/jira/browse/OAK-9870
>             Project: Jackrabbit Oak
>          Issue Type: Task
>            Reporter: Nitin Gupta
>            Priority: Major
>
> {code:java}
> /jcr:root/..//element(*, nt:base)[(jcr:contains(., 'test\\}'))]   {code}
> The above fulltext query works and returns the results (if present in case of lucene) but for elastic, the query fails at ES server and returns a blank result set to oak.
>  
> {code:java}
> 28.07.2022 07:34:16.821 *ERROR* [I/O dispatcher 2] org.apache.jackrabbit.oak.plugins.index.elastic.query.async.ElasticResultRowAsyncIterator Error retrieving data from Elastic: closing scanner, notifying listeners
> co.elastic.clients.elasticsearch._types.ElasticsearchException: [es/search] failed: [search_phase_execution_exception] all shards failed
> 	at co.elastic.clients.transport.rest_client.RestClientTransport.getHighLevelResponse(RestClientTransport.java:281) [org.apache.jackrabbit.oak-search-elastic:1.42.0.T20220608154910-4c59b36]
> 	at co.elastic.clients.transport.rest_client.RestClientTransport.access$200(RestClientTransport.java:63) [org.apache.jackrabbit.oak-search-elastic:1.42.0.T20220608154910-4c59b36]
> 	at co.elastic.clients.transport.rest_client.RestClientTransport$1.onSuccess(RestClientTransport.java:168) [org.apache.jackrabbit.oak-search-elastic:1.42.0.T20220608154910-4c59b36] {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)