pub fn adapt_document(path: &Path, content: &str) -> Option<Vec<SearchDoc>>
Detect the kind for a file path and, if recognised, parse it into chunks. Returns None when the file is not handled by any adapter.
None