> infodigger:index_blob(index_a, "File 1", "This is just a string content of file 1!").
{index_state,enabled}
> infodigger:index_blob(index_a, "File 2", <<"This is a byte sequence represented as a binary block.">>).
{index_state,enabled}
> infodigger:search(index_a, "byte content").
[{record,[{system_name,"File 2"},
{system_created,"2020-07-26T16:19:38"},
{system_updated,"2020-07-26T16:19:38"},
{system_filter,242},
{system_id,2},
{system_words,16},
{system_size,54},
{system_hits,1},
{system_rate,100},
{system_index,"h:/Projects/infosniffer/trunk/infodigger-2020.1/data/index_a"},
{system_subject,"File 2"},
{system_display,"File 2"},
{system_location,"h:/Projects/infosniffer/trunk/infodigger-2020.1/data/index_a/File 2"},
{system_container,[]}],
[{uuid,"5D8E3A7B-CB98-BB88-18E9-3E5173DCDB01"}]},
{record,[{system_name,"File 1"},
{system_created,"2020-07-26T16:18:08"},
{system_updated,"2020-07-26T16:18:08"},
{system_filter,242},
{system_id,1},
{system_words,15},
{system_size,40},
{system_hits,1},
{system_rate,100},
{system_index,"h:/Projects/infosniffer/trunk/infodigger-2020.1/data/index_a"},
{system_subject,"File 1"},
{system_display,"File 1"},
{system_location,"h:/Projects/infosniffer/trunk/infodigger-2020.1/data/index_a/File 1"},
{system_container,[]}],
[{uuid,"FC6E0324-5681-107A-A8B3-C7915239EF7B"}]}]
|