[ 
https://issues.apache.org/jira/browse/OAK-9379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Chibulcuteanu updated OAK-9379:
------------------------------------
    Description: 
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.

  was:
Disable _ElasticIndexProviderService_ when a system property is passed elastic 
and make sure elastic indexes return infinity cost.
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.


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

Reply via email to