Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > InfoDigger™ > Erlang Modules > infodigger
disable/1
Description
disable/1 is an Erlang function exported by "infodigger" module.
This function tries to disable the selected Index.
References
•open/4
Parameters
Name
Type
Index
atom()
Name used to handle an existing index already opened by the system for usage.
Result
Value or Type
{index_state,disabled} | {index_state,undefined}
Returns on of the following values:
•{index_state,disabled} when the Index is successfully disabled, or
•{index_state,undefined} when the operation failed for some reason.
Code Sample
> infodigger:disable(index_a).
{index_state,disabled}