Skip to content
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

Configure to use PRE database #10

Open
duffee opened this issue Feb 17, 2021 · 0 comments
Open

Configure to use PRE database #10

duffee opened this issue Feb 17, 2021 · 0 comments

Comments

@duffee
Copy link
Owner

duffee commented Feb 17, 2021

Discussion imported from RT (4 emails) https://rt.cpan.org/Public/Bug/Display.html?id=96573

I would like to query the PRE database (instead of the default AST
database) for arXIV papers using:

Astro::ADS::Query
Astro::ADS::Result::Paper
Astro::ADS::Result


Doug van Orsow (Vantage Systems, Inc.) Bldg 22 Rm 5 Doug.J.vanOrsow@nasa.gov

Hi Doug,

Funny you should ask that. I was given the answer to that just last week.
It's hardcoded in on line 660 of Query.pm
${$self->{OPTIONS}}{"db_key"} = "AST";
I believe PRE will just look at the pre-prints, whereas ALL will search all
databases (it's the one I'm using now).

In any case, I also saw that one-line option of setting the db_key to
AST, so just wondered if it could easily be changed to PRE in order to
access the pre-print ADS archive? Does setting it to ALL actually access
the PRE archive as well, or just other databases of AST?

I would suggest that you change the line from AST to ALL. That will search
the PRE, AST and any other database they have configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant