-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Feature/enable lucene query parsing #6799
Feature/enable lucene query parsing #6799
Conversation
827b986 add DOI preprint to american-society-for-microbiology.csl (JabRef#4946) 7cab2f7 Create depro-ufs.csl (JabRef#4947) 2fcda1f Create journal-of-sport-science-and-medicine.csl (JabRef#4949) cd457d4 Update american-marketing-association.csl (JabRef#4945) cacc4ee Create nejm-catalyst.csl (JabRef#4943) bd769b9 Update and rename dependent/chinese-medical-journal.csl to chinese-me… (JabRef#4941) 1f706cd Update health-services-research.csl (JabRef#4939) 76bcd1d Update journal-of-the-royal-society-of-western-australia.csl (JabRef#4932) e79640e Create afro-asia.csl (JabRef#4934) c601aa4 Update lancaster-university-harvard.csl (JabRef#4938) 184fd90 Update collection-du-centre-jean-berard.csl (JabRef#4936) 82f9aec fix et-al & add DOI thyroid.csl (JabRef#4937) 4af169f Create universidade-estadual-de-alagoas-uneal-abnt (JabRef#4885) 47165b3 Update and rename medical-physics.csl to dependent/medical-physics.csl (AMA) (JabRef#4905) 3cab27d Update thieme-german.csl (JabRef#4931) eb2c977 Create zeitschrift-fur-zahnarztliche-implantologie.csl (JabRef#4925) 4adb1ea Create karstenia.csl (JabRef#4929) 530a136 Fix author substitute in Universita Cattolica git-subtree-dir: src/main/resources/csl-styles git-subtree-split: 827b986
eb0d37e Create natbib-plainnat-author-dat.csl (JabRef#4967) fb1592a Update journal-of-fish-biology.csl (JabRef#4969) f6876cb Update .travis.yml (JabRef#4970) d6d400b Create london-review-of-international-law.csl (JabRef#4966) d2a5ae1 Update harvard-stellenbosch-university.csl (JabRef#4965) 9c62141 Create phytopathologia-mediterranea.csl (JabRef#4964) 8ca2ea1 Update historical-materialism.csl (JabRef#4960) 80456dc Update historical-materialism.csl be2d910 Update historical-materialism.csl 1d1cf09 Create atlande.csl (JabRef#4930) 89f41d4 Create juristische-zitierweise-oeffentliches-recht.csl (JabRef#4944) 8c677a0 Create korean-journal-of-gastroenterology.csl (JabRef#4954) eadb950 Create historical-materialism.csl (JabRef#4955) 5553dcd Create revista-materia.csl (JabRef#4957) d23a3ab Bug fix in APA 6 original publication macro (JabRef#4959) 66f9974 Always print publisher in APA 6th edition (JabRef#4899) 868809c Create agora.csl (JabRef#4940) 99c19c3 Update anthropologie-et-societes.csl (JabRef#4952) ee17423 Create critical-reviews-in-solid-state-and-materials-science.csl (JabRef#4951) 7a13a7d Create korean-journal-of-internal-medicine.csl (JabRef#4953) git-subtree-dir: src/main/resources/csl-styles git-subtree-split: eb0d37e
Fix some FetcherTests. Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
…cene-query-parsing
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This looks nice, and is a really helpful addition for the user. I've some remarks, but they are mostly minor.
Do you want to develop the user interface also in this PR, or do you plan to have a follow-up PR?
src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/QueryConverterTest.java
Outdated
Show resolved
Hide resolved
src/test/java/org/jabref/logic/importer/QueryConverterTest.java
Outdated
Show resolved
Hide resolved
Rename QueryConverter to QueryParser Modify parser tests to compare complex queries Make complex query construction from terms independent from normal building Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
Thanks for the comments! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good to me now.
There are the two things that slipped through the rename, if this is fixed and 5.1 released, then this can be merged.
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I would say, we merge this after the release of 5.1
…cene-query-parsing
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
…cene-query-parsing
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
…com/DominikVoigt/jabref into feature/enable-lucene-query-parsing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some improvement suggestions at the ADR
docs/adr/0015-support-an-abstract-query-syntax-for-query-conversion.md
Outdated
Show resolved
Hide resolved
docs/adr/0015-support-an-abstract-query-syntax-for-query-conversion.md
Outdated
Show resolved
Hide resolved
docs/adr/0015-support-an-abstract-query-syntax-for-query-conversion.md
Outdated
Show resolved
Hide resolved
docs/adr/0015-support-an-abstract-query-syntax-for-query-conversion.md
Outdated
Show resolved
Hide resolved
docs/adr/0015-support-an-abstract-query-syntax-for-query-conversion.md
Outdated
Show resolved
Hide resolved
docs/adr/0015-support-an-abstract-query-syntax-for-query-conversion.md
Outdated
Show resolved
Hide resolved
docs/adr/0015-support-an-abstract-query-syntax-for-query-conversion.md
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/SearchBasedFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/SearchBasedParserFetcher.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
Signed-off-by: Dominik Voigt <dominik.ingo.voigt@gmail.com>
…com/DominikVoigt/jabref into feature/enable-lucene-query-parsing
This refs JabRef#341. |
* upstream/master: (120 commits) Follow up fix for copy paste (#6820) Add CSS Customisation (#6725) Separate signing and notarizing (#6822) Remove checkstyle hack. 8.36 got released (#6816) Feature/enable lucene query parsing (#6799) New release cycle Bump WyriHaximus/github-action-wait-for-status from v1.1.2 to v1.2 (#6814) Bump mockito-core from 3.5.5 to 3.5.7 (#6813) Bump classgraph from 4.8.87 to 4.8.89 (#6812) Bump me.champeau.gradle.jmh from 0.5.0 to 0.5.1 (#6811) Bump checkstyle from 8.35 to 8.36 (#6810) Improve Changelog Refactor edit action (#6808) Fixed typo in BuildInfo (#6807) disable checkstyle for generated fix checkstyle Simplify check-links.yaml (markdown-link-check) (#6720) Rename /gen to /generate (#6800) Disable CSL refresh on push (#6803) New Crowdin updates (#6804) ... # Conflicts: # src/main/java/org/jabref/gui/JabRefFrame.java
This PR enables the conversion of user queries, formulated in a simplified lucene syntax (see ADR 0014), into complex search queries for fetchers. Refs JabRef#456.