Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include filename, page of PDF results in Emacs for better context #497

Open
agzam opened this issue Oct 10, 2023 · 1 comment
Open

Include filename, page of PDF results in Emacs for better context #497

agzam opened this issue Oct 10, 2023 · 1 comment
Labels
plugin Improvements or additions to content or UI integrations upgrade New feature or request

Comments

@agzam
Copy link

agzam commented Oct 10, 2023

I primarily use Khoj from Emacs. It appears that when searching using "Content Type = all", the 'Khoj Search' buffer gets populated with excerpts from PDF sources. However, it does not specify the file, page, or location these excerpts are drawn from. When searching only in PDF files the search results do not indicate the page and location either, but at least the filename is present. When you search mixing the content type, the results are somewhat not very useful.

@debanjum
Copy link
Collaborator

debanjum commented Nov 2, 2023

Thanks for pointing that out. We haven't tested the PDF rendering in Emacs extensively but not being able to see the context of the PDF results (like filename, page number etc.) isn't great. Let us look into fixing that soon

@debanjum debanjum changed the title Emacs: Mixed content type search that includes PDFs is subpar Include Filename, Page of PDF results in Emacs for better context Nov 2, 2023
@debanjum debanjum changed the title Include Filename, Page of PDF results in Emacs for better context Include filename, page of PDF results in Emacs for better context Nov 2, 2023
@debanjum debanjum added upgrade New feature or request plugin Improvements or additions to content or UI integrations labels Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin Improvements or additions to content or UI integrations upgrade New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants