Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > InfoDigger™ > Erlang Modules > infodigger
handle/1
Description
handle/1 is an Erlang function exported by "infodigger" module.
This function returns the Index's handle with the found, or raises an exception when the specified index is not found.
References
•Headers
•location/1
Parameters
Name
Type
Index
atom()
Name used to handle an existing index already opened by the system for usage..
Result
Value or Type
#infodigger_index{}
Returns the Index's handle.
Code Sample
> infodigger:handle(index_a).
{infodigger_index,index_a,0,enabled,
"z:/Projects/infosniffer/trunk/infodigger-2020.1/data/index_a",
"z:/Projects/infosniffer/trunk/infodigger-2020.1/priv/",
"z:/Projects/infosniffer/trunk/infodigger-2020.1/data/index_a/temp/",
undefined}