Extracted from Pike v7.8 release 866 at 2017-07-23.
pike.ida.liu.se
[Top]
Search
Search.Blobs

Method Search.Blobs()->read_all_sorted()


Method read_all_sorted

array(array(string)) read_all_sorted()

Description

returns ({({ string word1_id, string blob1 }),...}), sorted by word_id in octed order.

As a side-effect, this function frees the blobs and the word_ids, so you can only read the blobs struct once. Also, once you have called read or read_all_sorted , add_words will no longer work as expected.