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 "Konrad Windszus (JIRA)" <ji...@apache.org> on 2016/05/27 09:38:13 UTC

[jira] [Created] (OAK-4406) Add easy to use commands to clear indices (all Property, Lucene and Solr)

Konrad Windszus created OAK-4406:
------------------------------------

             Summary: Add easy to use commands to clear indices (all Property, Lucene and Solr) 
                 Key: OAK-4406
                 URL: https://issues.apache.org/jira/browse/OAK-4406
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: run
            Reporter: Konrad Windszus


Currently only {{oak-run}} can be used to remove search index files.
But for that you have to know where the index definition is stored (because the actual index is stored below those nodes). and you have to use low-level commands to manually modify the repository.

It would be really nice if there would be dedicated commands in oak-run which would allow to
# list all existing search indices
# remove specific indices
# verify them for validity (not sure if that is possible though)

In addition those commands probably need to consider the copy on the local filesystem of indices (http://jackrabbit.apache.org/oak/docs/query/lucene.html#CopyOnRead).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)