摘要 |
Techniques for indexing file paths of items in a repository may include, for each type associated with instances that are not associated with file path indexes, starting with folder types prior to item types in a round robin sequence, attempting to associate the instances of the type with file path indexes. The repository may be queried for instances of a current type that are not associated with file path indexes and that are filed in a folder that is associated with a file path index. Responsive to the querying returning one or more instances of the current type, the one or more instances of the current type may be associated with the file path indexes. Responsive to the querying returning one or more instances of the current type, attempting to associate the instances of the same current type with file path indexes may be repeated. |
主权项 |
1. A method for associating file path indexes with items and folders in a content repository, wherein the items and the folders are each associated with one of a plurality of types, the method comprising:
for each of a plurality of types associated with one or more indexable instances that are not associated with file path indexes, in turn starting with folder types prior to item types in a round robin sequence, attempting, by at least one processor, to associate the one or more indexable instances of the type with file path indexes, including: querying, by the at least one processor, the content repository for instances of a current type out of the plurality of types 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, responsive to the querying returning, by the at least one processor, one or more instances of the current type, associating the one or more instances of the current type with the one or more file path indexes, and in response to the querying returning, by the at least one processor, one or more instances of the current type, repeating the attempting to associate the one or more indexable instances of the same current type with file path indexes, marking, by the at least one processor, the current type if the querying returns zero instances of the current type and if no other type is marked. |