Method and apparatus for searching metadata
First Claim
Patent Images
1. A machine-implemented method, comprising:
- in response to a search query for metadata stored in one or more of a plurality of metadata stores, partitioning the search query into a plurality of search query segments;
for each search query, allocating a system thread having a time slice with a predetermined time period; and
performing searches corresponding to the plurality of search query segments, each search being performed independently within the one or more metadata stores within a corresponding time slice of a corresponding system thread in a round-robin manner, including storing a search state and a partial search result in a queue at the end of the time slice if the respective search has not been finished, such that the respective search can be carried on in a subsequent time slice.
3 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatuses for searching metadata are described herein. In one embodiment, an example of a process for search metadata includes, but is not limited to, in response to a search query for metadata stored in one or more of metadata stores, the search query is partitioned into multiple search query segments. Thereafter, searches corresponding to the search query segments are performed, where each search is performed independently within the one or more metadata stores. Other methods and apparatuses are also described.
15 Citations
21 Claims
-
1. A machine-implemented method, comprising:
-
in response to a search query for metadata stored in one or more of a plurality of metadata stores, partitioning the search query into a plurality of search query segments; for each search query, allocating a system thread having a time slice with a predetermined time period; and performing searches corresponding to the plurality of search query segments, each search being performed independently within the one or more metadata stores within a corresponding time slice of a corresponding system thread in a round-robin manner, including storing a search state and a partial search result in a queue at the end of the time slice if the respective search has not been finished, such that the respective search can be carried on in a subsequent time slice. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A machine-readable storage medium having instructions, when executed by a machine, cause the machine to perform a method, the method comprising:
-
in response to a search query for metadata stored in one or more of a plurality of metadata stores, partitioning the search query into a plurality of search query segments; for each search query, allocating a system thread having a time slice with a predetermined time period; and performing searches corresponding to the plurality of search query segments, each search being performed independently within the one or more metadata stores within a corresponding time slice of a corresponding system thread in a round-robin manner, including storing a search state and a partial search result in a queue at the end of the time slice if the respective search has not been finished, such that the respective search can be carried on in a subsequent time slice. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus, comprising:
-
a task manager, in response to a search query for metadata stored in one or more of a plurality of metadata stores, configured to partition the search query into a plurality of search query segments and to allocate a system thread having a time slice with a predetermined time period; and a search engine coupled to the task manager to perform searches corresponding to the plurality of search query segments, each search being performed independently within the one or more metadata stores within a corresponding time slice of a corresponding system thread in a round-robin manner, including storing a search state and a partial search result in a queue at the end of the time slice if the respective search has not been finished, such that the respective search can be carried on in a subsequent time slice, wherein the search engine includes a processor and a memory. - View Dependent Claims (18, 19, 20)
-
-
21. An apparatus, comprising:
-
in response to a search query for metadata stored in one or more of a plurality of metadata stores, means for partitioning the search query into a plurality of search query segments; means for allocating a system thread having a time slice with a predetermined time period; and means for performing searches corresponding to the plurality of search query segments, each search being performed independently within the one or more metadata stores within a corresponding time slice of a corresponding system thread in a round-robin manner, including storing a search state and a partial search result in a queue at the end of the time slice if the respective search has not been finished, such that the respective search can be carried on in a subsequent time slice, wherein means for performing searches includes a processor and a memory.
-
Specification