find_documents#
- dscat.queries.find_documents(cat, name, dataset, version, all_versions)[source]#
Find documentation files whose title or path contains every token in
name.Splitting
nameon whitespace letsWelcome Packetmatch..._Welcome_Packet...across separator differences in file names.- Parameters:
cat (
dscat.index.Catalogue) – Open catalogue to read from.name (
str) – Whitespace-separated tokens that must all appear in the title or path.version (
strorNone) – Pin a version (needsdataset); the default scope is the latest.all_versions (
bool) – Cover every version instead of only the latest.
- Returns:
Matching document rows.
- Return type: