jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Quick search by first author name within the library using "^"

Open nicoborghi opened this issue 2 years ago • 6 comments

It would be very helpful to have a feature that allows to quickly search by first author name (or CitationKey). That would help especially for large libraries, as the current standard search scans all the available information and can be slow.

For example in ADS (https://ui.adsabs.harvard.edu/) one can do it by using the ^ symbol before the first author name.

image

nicoborghi avatar Oct 13 '23 08:10 nicoborghi

Have you tried using the search syntax? e.g. author = xyz? Is it also slow? See the docs: https://docs.jabref.org/finding-sorting-and-cleaning-entries/search#regular-expressions

Please have a look at issues with the label performance to rule out you are not affected. In particular in JabRef 5.10, search becomes slow, if you sort the main table columns in reverse order, if I am not mistaken.

ThiloteE avatar Oct 13 '23 20:10 ThiloteE

Refs https://github.com/JabRef/jabref/pull/8963 (because we update the search there)

koppor avatar Oct 13 '23 23:10 koppor

Hi there, I'm new here. I'm so interested about this issue. Could I got a chance to combined my knowledge and practice together to fix this issue? Could you please assign this issue to me ? Thanks so much.

Toro520 avatar Oct 22 '23 05:10 Toro520

@Toro520 this issue still needs refinement and the original author is not responding. Please have a look at other good first issues or small university projects from our projects page.

ThiloteE avatar Oct 22 '23 07:10 ThiloteE

Have you tried using the search syntax? e.g. author = xyz? Is it also slow? See the docs: https://docs.jabref.org/finding-sorting-and-cleaning-entries/search#regular-expressions

Please have a look at issues with the label performance to rule out you are not affected. In particular in JabRef 5.10, search becomes slow, if you sort the main table columns in reverse order, if I am not mistaken.

Thanks. I tried the author = xyz search, but my point is not only performance-related. If one remembers references in the FirstAuthorYear format, when using author = xyz, he/she still has to skim many non-first author search results.

Since FirstAuthorYear is also the default citation key pattern in JabRef, one can use CitationKey = ..., but the simpler ^ symbol might be a better choice.

nicoborghi avatar Oct 22 '23 17:10 nicoborghi

Hi there, I'm new here. I'm so interested about this issue. Could I got a chance to combined my knowledge and practice together to fix this issue? Could you please assign this issue to me ? Thanks so much.

Your public GitHub profile does not state any knowledge about Apache Lucence. You can show your coding skills in that topic to finish https://github.com/JabRef/jabref/pull/10193. Afterwards, you can contribute to finish https://github.com/JabRef/jabref/pull/8963. Then, we can work on this issue.

koppor avatar Oct 23 '23 10:10 koppor