Build a high-performance file system indexer and search tool in Go. Implement recursive directory traversal with configurable depth. Add file metadata extraction including size, dates, and permissions. Include content indexing with optional full-text search. Implement advanced query syntax with boolean operators and wildcards. Add incremental indexing for performance. Include export functionality in JSON and CSV formats. Implement search result highlighting. Add duplicate file detection using checksums. Include performance statistics and progress reporting. Implement concurrent processing for multi-core utilization.
使用 Go 语言构建一个高性能的文件系统索引与搜索工具。实现可配置深度的递归目录遍历。添加文件元数据提取,包括大小、日期和权限。包含内容索引,支持可选的全文搜索。实现带有布尔运算符和通配符的高级查询语法。添加增量索引以提升性能。包含 JSON 和 CSV 格式的导出功能。实现搜索结果高亮显示。通过校验和添加重复文件检测功能。包含性能统计和进度报告。利用并发处理以发挥多核性能。