Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > InfoDigger™ > Erlang Modules > infodigger
remove/2
Description
remove/2 is an Erlang function exported by "infodigger" module.
Removes items from Index by names specified in a simple list.
References
•open/4
•compact/1
Parameters
Name
Type
Index
atom()
Name used to handle an existing index already opened by the system for usage.
Items
list()
List of object names to be removed from searching.
This routines does not remove the selected items completely.
Check-out the compact procedure for further details.
Result
Value or Type
{index_state,enabled}
Returns on success.
Code Sample
> infodigger:remove(index_a, ["File 1", "File 2"]).