koppor / jabref

Collection of simple for JabRef issues. Please submit PRs to https://github.com/jabRef/jabref/.
https://github.com/jabRef/jabref/
MIT License
8 stars 13 forks source link

Web-based Search should support web-fetcher syntax #608

Open koppor opened 2 years ago

koppor commented 2 years ago

As user, I "just" want to search


Implementation Idea:

  1. Check for Id --> run id fetcher
  2. Check for syntax of fetcher -> if match -> pass that
    • Is there a parser for the fetcher?
  3. Check for lucene syntax --> if match -> pass that
    • Lucene might return that it cannot parse a field --> maybe raw needs to be sent
  4. Show error

Can we show the "mode" in the UI - like we did at the magnification glass at the search in JabRef 2.x?

grafik


Currently:

This is currently sketched in the FetcherDelegate: https://github.com/koppor/jabref/pull/559/files#diff-6038155da69f4a45d14bde97e0718d663aa19d6e181eecbfe938b1c65d548cf8