SLR: scopus raw query support#16103
Conversation
PR Summary by QodoScopus: add raw (native) query support for paged SLR searches Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
Following JabRef#16139, the raw-query fetch loop now lives in PagedSearchBasedParserFetcher.performRawSearchQueryPaged. Drop Scopus's bespoke performRawSearchQueryPaged override (and its inline fetch loop) and supply only the getURLForRawQuery(String, int) hook, matching how IEEE and SpringerNatureWebFetcher were migrated. Year filtering stays in performSearchPaged, so the raw path remains unfiltered as before. Blank-query short-circuit, download, parse, and post-cleanup are handled by the shared default. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Hi @LoayTarek5 — I pushed two commits to this branch (using maintainer edits):
#16139 hoisted the raw-query fetch loop into the base interfaces: So this branch's bespoke @Override
public URL getURLForRawQuery(String rawQuery, int pageNumber) throws URISyntaxException, MalformedURLException {
return buildSearchURL(rawQuery, pageNumber);
}Behavior is unchanged: year filtering stays in Verified locally: |
InAnYan
left a comment
There was a problem hiding this comment.
I haven't really run the code, but code-wise seems to be okay
* upstream/main: fix dependency configuration for jlatexmath (JabRef#16202) Open add-file link dialog when File field added; add on empty-area double-click (JabRef#16192) New Crowdin updates (JabRef#16196) Chore(deps): Bump org.postgresql:postgresql from 42.7.12 to 42.7.13 in /versions (JabRef#16194) Chore(deps): Bump org.gradlex:java-module-packaging in /build-logic (JabRef#16193) Add CSL-JSON import endpoint for correct entry-type mapping (JabRef#16151) Increase arrow button size in Entry Preview preferences tab (JabRef#16063) Add focus-triggered remove button for empty optional fields in entry editor (JabRef#16185) Render entry preview with html-to-node and remove javafx.web (JabRef#16145) Fix arrow-text spacing in entry editor collapsible sections (JabRef#16184) SLR: scopus raw query support (JabRef#16103) Update crowdin config to support CLI (JabRef#16182) 🤖 Fix entry editor fields growing wider than available space for long values (JabRef#16181) Fix file field editor: button placement, sizing, live refresh (JabRef#16172) Add madrlint MADR linter to test workflow (JabRef#16168)
Related issues and pull requests
PR Description
performRawSearchQueryPaged sends the query string as Scopus's query parameter, bypassing ScopusQueryTransformer, so SLR researchers can use catalog-native syntax, URL building is extracted into a shared buildSearchURL helper used by both the translated and raw paths, also the raw path intentionally bypasses client-side year filtering (same as IEEE), guaranteed by resetting the transformer
Steps to test
AI usage
claude-opus-4.6 to investigate files and review my code
Checklist
CHANGELOG.mdin a way that can be understood by the average user (if change is visible to the user)