GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Astro::ADS::Search(3) User Contributed Perl Documentation Astro::ADS::Search(3)

Astro::ADS::Search - Queries the ADS Search endpoint and collects the results

version 1.90

    my $search = Astro::ADS::Search->new({
        q  => '...', # initial search query
        fl => '...', # return list of attributes
    });
    my $result = $search->query();
    my @papers = $result->papers();
    while ( my $t = $result->next_query() ) {
        $result = $search->query( $t );
        push @papers, $result->get_papers();
    }
    while ( my $t = $result->next_query() ) {
        push @papers, $result->more_papers( $t );
    }
    while ( push @papers, $result->next_query()->more_papers() ) {
    }

Search for papers in the Harvard ADS

You can put base terms in the creation of the object and use the query method to add new terms to that query only

Adding a field key "+q" to the query method adds the query term to the existing query terms, whereas specifying a value for "q" in the query method overwrites the query terms and neglects gathering other search attributes, such as authors or objects.

Add a list of authors to a search query. Authors added here will not be deleted if the query attribute is updated.

Add a list of objects to a search query. Objects added here will not be deleted if the query attribute is updated.

Not implemented yet

Will return the Abstract Syntax Tree <https://ui.adsabs.harvard.edu/help/api/api-docs.html#get-/search/qtree> for the query.

Not implemented yet

Accepts a list of many IDs <https://ui.adsabs.harvard.edu/help/api/api-docs.html#post-/search/bigquery> and supports paging.

From the ADS API, the "=" sign turns off the synonym expansion feature available with the author and title fields

*Astro::ADS
*Astro::ADS::Result
*ADS API <https://ui.adsabs.harvard.edu/help/api/>
*Search Syntax <https://ui.adsabs.harvard.edu/help/search/search-syntax>

Boyd Duffee <duffee@cpan.org>

This software is Copyright (c) 2025 by Boyd Duffee.

This is free software, licensed under:

  The MIT (X11) License
2025-02-22 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.