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

Full text search - within PDF attachments from Alfred. Possible? #53

Open
mrchrisadams opened this issue Jan 29, 2021 · 1 comment
Open

Comments

@mrchrisadams
Copy link

Hi there.

Thank you for making this extension!

After starting to use zotero in earnest, I wished this existed, so finding out that this is out in the world made me really happy!

I have one question though - I understand that you can do local full text search of Zotero content by going to "everything" in Zotero, and then searching. I've pasted the relevant section from Zotero below:

Full-text PDF indexing allows embedded text within PDFs to be searched with Quick Search (via the “Everything” option) and Advanced Search (via “Attachment Content”). You can control how much text in a PDF is indexed in the Search pane of Zotero preferences (default: 500000 characters, 100 pages). Indexing happens automatically in the background when Zotero is idle.

Is there a way to search the indexed content of PDFs or similar attachments?

Searches I do in the zotero app when I search 'everything' return results that don't show up when I do an all search in the this plugin, and I'm trying to understand how you'd make them appear.

From a quick look through the code, I found this Index class, but I I'm not familiar enough with Zotero's internals to know how to access the index that zotero itself maintains, to make it accessible in the plugin.

https://github.com/deanishe/zothero/blob/master/src/lib/zothero/index.py

Is it possible to either access the search index maintained by Zotero?

@Order-at-all-Points
Copy link

I'm having trouble figuring out how to search the full-text index too. This is listed as a feature in the README file — "Perform full-text search across your Zotero database, including only searching specific fields." I can search common/specific fields, but never the full-text index. Is this possible, or does the feature description mean to refer to searching fields only?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants