Complex search in paperpile and metaPDF

MetaPDF currently does not provide an option to search for matches as whole words or to respect capitalization. I have tried to get around this by having a leading space to my search term (hoping that most pattern matches would have the whole word) but that is unfortunately ignored.

Would be good to have:

  1. Leading or trailing spaces in search terms respected; as a workaround until:
  2. more complex search options like whole word or capitalization sensitive implemented

Edit:
The paperpile app would also benefit from more complex search options, particularly the option to search for multi-word patterns. Right now they are treated as separate search terms which will, if they are common in the library, give way too many results as opposed to match the one article that has them in this weird order (but of which I forgot the author name or other info piece)

I changed the topic to reflect that this applies to the app too

What I also would like is to be able to search for 2 character strings, whereas currently, search kicks in only at 3 characters. My use case is as follows:

  1. I click a numbered reference, eg 22
  2. I get taken to the list of references
  3. Now I want to go back to where I was reading, I search for 22 but nothing happens

How I do it now:
I look up the citation style and search for “22]” or “22)”, but then “22,23” isn’t picked up.

I am not sure we can add support for more complex search unless the interest for it is more widespread. With regard to searching for 2-character strings, it is mostly a barrier we put in place so we do not run a computationally intensive search as soon as you type / do not run searches which will return many many hits.

I do see the problem with getting to the references. We could in theory allow shorter search strings for numeric characters, although we run the risk of getting many false-positives in tables.

1 Like

Yes, Chrome’s native viewer does support 1 and 2 character searches, and you can end up in the header and footer of the page or the reference DOIs relatively quickly, but I think it’s worth it :wink:

I found another use case, I have a paper written by “Li and Li”, which makes it very hard to find in the paperpile app :stuck_out_tongue:

We are going to change it so that one- and two-character searches can be triggered with an enter key.

1 Like