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 "Fabrizio Fortino (Jira)" <ji...@apache.org> on 2021/03/31 12:50:00 UTC
[jira] [Resolved] (OAK-9379) Disable ElasticIndexProviderService
via a system property
[ https://issues.apache.org/jira/browse/OAK-9379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabrizio Fortino resolved OAK-9379.
-----------------------------------
Resolution: Fixed
Fixed with revision 1888249.
> Disable ElasticIndexProviderService via a system property
> ---------------------------------------------------------
>
> Key: OAK-9379
> URL: https://issues.apache.org/jira/browse/OAK-9379
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: search-elastic
> Affects Versions: 1.38.0
> Reporter: Paul Chibulcuteanu
> Assignee: Fabrizio Fortino
> Priority: Major
>
> Disable _ElasticIndexProviderService_ when a system property is passed and make sure elastic indexes return infinity cost in that case.
> E.g:
> {code}
> -Doak.elastic.disabled=true
> {code}
> Additionally, a unit test should be written to test query execution when both ES & lucene indexes are present and _ElasticIndexProviderService_ is disabled and elastic indexes return infinity cost.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)