EFFICIENTLY STORING INDENTED THREADS IN THREADED APPLICATION
A method, apparatus, and computer-readable media for retrieving records (202) in a hierarchical set of the records having a plurality of hierarchical levels and a plurality of hierarchical depths (204), each of the records having a tag that is unique within the hierarchical set of records, comprises identifying one of the records in the hierarchical set of the records; modifying the tag, thereby producing a key; indexing the hierarchical set of the records only once (208), thereby selecting one or more of the records within the hierarchical set of the records, wherein indexing the hierarchical set of the records only once comprises applying the key to the hierarchical set of the records (208); and retrieving the selected records (210).