Optimized queries for file path indexing in a content repository
AssigneeInternational Business Machines Corporation
InventorDavid B. Victor
Life of this patent
Estimating the term…
Abstract
Techniques for indexing file paths of items in a content repository may include taking turns in querying each different item type or folder type in a round robin schedule to visit select nodes of the folder tree of that type to update and maintain the file path indexes. Item types or folder types may be associated with a count of instances or children of instances that are missing indexes. For each item type or folder type, a query may be performed for instances of the item type or folder type having children that are missing indexes, the instances or children of the instances returned may be associated with file path indexes, and the count of instances or children of instances may be adjusted based on the associating.
Claims25
A method for associating, by at least one processor, file path indexes with items in a content repository, comprising:
- for each item type having one or more instances that are not associated with file path indexes and that are filed in one or more folders in a content repository out of a plurality of item types in turn in a round robin sequence,
- querying, by the at least one processor, the content repository for instances of the item type that are not associated with one or more file path indexes and that are filed in a folder that is associated with a file path index, and
- responsive to the querying returning, by the at least one processor, one or more instances of the item type, associating the one or more instances of the item type with the one or more file path indexes.
A computing system comprising:
- one or more processors;
- and
- an indexer operable on the one or more processors and configured to:
- for each item type having one or more instances that are not associated with file path indexes and that are filed in one or more folders in a content repository out of a plurality of item types in turn in a round robin sequence,
- query the content repository for instances of the item type that are not associated with one or more file path indexes and that are filed in a folder that is associated with a file path index, and
- responsive to the query returning one or more instances of the item type, associate the one or more instances of the item type with the one or more file path indexes.
A computer readable storage medium containing instructions that, when executed on at least one programmable processor, cause the at least one programmable processor to perform operations comprising:
- for each item type having one or more instances that are not associated with file path indexes and that are filed in one or more folders in a content repository out of a plurality of item types in turn in a round robin sequence,
- querying the content repository for instances of the item type that are not associated with one or more file path indexes and that are filed in a folder that is associated with a file path index, and
- responsive to the querying returning one or more instances of the item type, associating the one or more instances of the item type with the one or more file path indexes.
A method for associating, by at least one processor, file path indexes with items in a content repository, comprising:
- for each folder type having one or more instances that have one or more child items that are not associated with file path indexes in a content repository out of a plurality of folder types in turn in a round robin sequence,
- querying, by the at least one processor, the content repository for child items of instances of the folder type that are not associated with one or more file path indexes, and
- responsive to the querying returning, by the at least one processor, one or more child items of instances of the folder type, associating the one or more child items of instances of the folder type with the one or more file path indexes.
Dependencies are inferred from the claim text.