Extend the search API to query file metadata (name, type, size, tags) and optionally file content via a pluggable indexing backend. Provide pagination, sorting, and filtering controls (e.g., by folder, MIME type, modified date). Design the interface so different indexers (e.g., Lucene, Elasticsearch) can be integrated without changing the API. Return relevant snippets or highlights for content matches when available. Include tests and update the README with usage examples.
Extend the search API to query file metadata (name, type, size, tags) and optionally file content via a pluggable indexing backend. Provide pagination, sorting, and filtering controls (e.g., by folder, MIME type, modified date). Design the interface so different indexers (e.g., Lucene, Elasticsearch) can be integrated without changing the API. Return relevant snippets or highlights for content matches when available. Include tests and update the README with usage examples.