希望上传重复文档时不要重复解析
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
同一份 PDF 有时会被重复上传,尤其是改了文件名之后。可以对文件内容做 hash,发现重复时提示“已上传过”,让用户复用之前的解析结果。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the PDF upload and parsing flow to find where uploaded content is stored and parsing begins. Add duplicate detection based on file content rather than filename, then show the “已上传过” prompt and reuse the earlier parsing result. Verify that uploading the same PDF under a different filename does not trigger parsing again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100