Advanced search with occurrence count criteria
Is it possible to search for a phrase in full-text and only show items where the phrase occurs more than N times?
I am trying to find articles that contain a phrase but in many articles' full-text the phrase occurs once or twice and such articles are not really about the said topic (or have a useful discussion or results on this topic).
I am trying to find articles that contain a phrase but in many articles' full-text the phrase occurs once or twice and such articles are not really about the said topic (or have a useful discussion or results on this topic).
You could go through the .zotero-ft-cache files (which are text files) and match phrases as you need to, recording the IDs. You can then relocate the files in zotero by searching for the ID (Edit: you can use any search type it seems - that may have changed recently). The ID isn't shown in the user interface afaik, but the search will find the item.
But - all depends a bit on how much you want to code :)
Not sure what this means "You can then relocate the files in zotero by searching for the ID".
Also, my PDF files are attached to Zotero items as "link to file".
@dstillman Is it possible to find the storage ID for an item in such a case. If I right-click an item, the show file just takes me to the PDF (which is not in Zotero storage)
That location also contains the .zt file. You then search in this (as you suggest). Bear in mond the files may only be partial, depending on your settings.
You the have the storage is, plus the associated matches. How do you now find the item back in zotero?
You could do this
1. Manually by copying the id into the search box
2. Via the API
3. Or via an export format like scannable cite (or a variant thereof) that gives you the id together the bibliographic information (author, year, title etc)
This may not be the best way, but this is how I'd do it. Sorry for brevity, am on mobile. Happy to post some details if it's useful!