[
https://issues.apache.org/jira/browse/OAK-9870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller reopened OAK-9870:
---------------------------------
I find it dangerous, because it affects Lucene indexes and it's not behind a
feature flag. Could you please revert it?
> 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
> Assignee: Nitin Gupta
> Priority: Major
> Fix For: 1.46.0
>
>
> {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)