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/28 07:43:00 UTC

[jira] [Created] (OAK-9870) Difference in result sets for lucene and elastic

Nitin Gupta created OAK-9870:
--------------------------------

             Summary: Difference in result sets for lucene and elastic
                 Key: OAK-9870
                 URL: https://issues.apache.org/jira/browse/OAK-9870
             Project: Jackrabbit Oak
          Issue Type: Task
            Reporter: Nitin Gupta


{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)