Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9379

Disable ElasticIndexProviderService via a system property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.38.0
    • 1.40.0
    • search-elastic
    • None

    Description

      Disable ElasticIndexProviderService when a system property is passed and make sure elastic indexes return infinity cost in that case.
      E.g:

       -Doak.elastic.disabled=true
      

      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.

      Attachments

        Activity

          People

            fortino Fabrizio Fortino
            chibulcu Paul Chibulcuteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: