Description
Add a parser for .pdf files to extract text for indexing.
What to Do
- Create a
PDFParser struct that implements the Parser interface.
- Use a Go PDF parsing library like
unidoc/unipdf or rsc.io/pdf to extract text.
- Ensure basic error handling for unsupported or encrypted PDFs.
Description
Add a parser for
.pdffiles to extract text for indexing.What to Do
PDFParserstruct that implements theParserinterface.unidoc/unipdforrsc.io/pdfto extract text.