Paul Chibulcuteanu created OAK-11892:
----------------------------------------

             Summary: Expose hidden mount for elasticsearch indexes in 
IndexStats
                 Key: OAK-11892
                 URL: https://issues.apache.org/jira/browse/OAK-11892
             Project: Jackrabbit Oak
          Issue Type: Task
          Components: elastic-search, indexing
    Affects Versions: 1.84.0
            Reporter: Paul Chibulcuteanu


Elasticsearch indexes currently do not expose the hidden mount as lucene 
indexes do. This field can be later used for various reasions including 
deciding if the index can be removed or not.


Lucene indexes has the `Has hidden oak mount` field:
{code}
Async                        :true
Async lane name              :async
Last indexed up to           :2025-09-04T08:26:52Z
Last updated time            :2025-09-03T07:38:35Z
Reindex completion time      :2025-08-28T21:37:04Z
Size                         :17.9 kB
Size (in bytes)              :17937
Suggest size                 :1.3 kB
Suggest size (in bytes)      :1325
Estimated entry count        :30
Has hidden oak mount         :true
Has property index           :false
Is active                    :true
{code}

Elasticsearch indexes doesn't have it:
{code}
Type                         :elasticsearch
Async                        :true
Async lane name              :elastic-async
Last indexed up to           :2025-09-04T08:26:52Z
Last updated time            :2025-09-04T08:25:09Z
Reindex completion time      :2025-09-04T08:25:09Z
Size                         :29.1 kB
Size (in bytes)              :29132
Estimated entry count        :24
Is active                    :true
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to