Pike v8.1 release 6

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.