Efficiently storing indented threads in a threaded discussion application
3 Assignments
0 Petitions
Accused Products
Abstract
A method, apparatus, and computer-readable media for retrieving records in a hierarchical set of the records having a plurality of hierarchical levels and a plurality of hierarchical depths, each of the records having a tag that is unique within the hierarchical set of the 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, 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; and retrieving the selected records.
36 Citations
82 Claims
-
1-80. -80. (Canceled)
-
81. A unique tag for a datum in a hierarchical data set having a plurality of hierarchical levels and a plurality of hierarchical depths, comprising:
-
a number having a plurality of digits, each digit representing one of the hierarchical depths of the hierarchical data set; and
whereinthe position of the least-significant non-zero digit represents the hierarchical depth of the datum;
the value of the least-significant non-zero digit represents the hierarchical level of the datum; and
the digits that are more significant than the least-significant non-zero digit represent parents of the datum.
-
-
82. A memory for storing data for access by an application program being executed on a data processing system, comprising:
-
a data structure stored in the memory, the data structure comprising a hierarchical data set having a plurality of hierarchical levels and a plurality of hierarchical depths, the hierarchical data set comprising a unique tag for a datum comprising;
a number having a plurality of digits, each digit representing one of the hierarchical depths of the hierarchical data set; and
whereinthe position of the least-significant non-zero digit represents the hierarchical depth of the datum;
the value of the least-significant non-zero digit represents the hierarchical level of the datum; and
the digits that are more significant than the least-significant non-zero digit represent parents of the datum.
-
Specification