Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

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.