Asks for a Go file indexer and search tool with recursive traversal, metadata extraction, full-text indexing, boolean queries and incremental updates.
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 语言构建一个高性能的文件系统索引器与搜索工具。实现可配置深度的递归目录遍历。添加文件元数据提取功能,包括文件大小、时间戳(创建/修改/访问时间)和权限信息。包含内容索引功能,并支持可选的全文搜索。实现支持布尔运算符(AND/OR/NOT)和通配符(*、?)的高级查询语法。添加增量式索引以提升性能。包含以 JSON 和 CSV 格式导出索引数据的功能。实现搜索结果高亮显示。添加基于校验和(checksum)的重复文件检测功能。包含性能统计信息与进度报告功能。实现并发处理以充分利用多核 CPU。