irods / irods_capability_indexing

BSD 3-Clause "New" or "Revised" License
1 stars 11 forks source link

provide rules to 'manually' schedule an indexing event #124

Open trel opened 2 years ago

trel commented 2 years ago

Inspired by the limitation of https://github.com/irods/irods/issues/6422 ...

Provide rules/wrappers which expose the following two functions to any rule language ... these could be called within the server to schedule an indexing event upon request.

idx.schedule_metadata_indexing_event(
        logical_path,
        _rei->rsComm->clientUser.userName,
        attribute,
        value,
        units);

and

idx.schedule_full_text_indexing_event(
    object_path,
    _rei->rsComm->clientUser.userName,
    resource_name);
d-w-moore commented 2 years ago

The idea here is that when an AVU operation post-PEP fires, this can be called from within that PEP , correct ?

trel commented 2 years ago

yes, from 'inside the house'.