<?xml version="1.0" encoding="UTF-8"?>
<ajxp_plugin label="CONF_MESSAGE[Indexation]" description="CONF_MESSAGE[Indexation plugins]" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd">
    <class_definition classname="Pydio\Access\Indexer\Core\CoreIndexer" filename="plugins/core.index/CoreIndexer.php"/>
    <client_settings>
        <resources>
            <i18n namespace="core.index" path="plugins/core.index/i18n"/>
        </resources>
    </client_settings>
    <registry_contributions>
        <actions>
            <action name="index">
                <gui text="core.index.1" title="core.index.2" iconClass="mdi mdi-library-books" accessKey="folder_access_key">
                    <context selection="false" dir="true" recycle="hidden" actionBar="true" contextMenu="true" infoPanel="false" actionBarGroup="other" inZip="false"/>
                </gui>
                <rightsContext noUser="true" userLogged="only" read="true"
                               write="false" adminOnly="false">
                </rightsContext>
                <processing>
                    <clientCallback module="PydioCoreActions.Callbacks.launchIndexation"/>
                    <serverCallback methodName="applyAction" restParams="/file+" developerComment="Trigger re-indexation of a directory, recursively">
                        <input_param name="file" type="string" description="Folder to index (can be empty for root)"/>
                        <input_param name="verboz" type="boolean" description="Print out some info about indexation"/>
                    </serverCallback>
                </processing>
            </action>
        </actions>
    </registry_contributions>
    <dependencies>
        <activePlugin pluginName="index.lucene|meta.syncable"/>
    </dependencies>
</ajxp_plugin>
