class Object
Public Instance Methods
Performs a search query for papers on the arXiv search API.
@note This is an alias of the {Arx.search} method. @note The sort_by
and sort_order
arguments are ignored if passing in your own query
. @see Arx.search
@param ids [Array<String>] The IDs of the arXiv papers to restrict the query to. @param query [Query, NilClass] Predefined search query object. @param sort_by [Symbol] The sorting criteria for the returned results (see {Arx::Query::SORT_BY}). @param sort_order [Symbol] The sorting order for the returned results (see {Arx::Query::SORT_ORDER}). @param start [Integer] The index of the first returned result. @param max_results [Integer] The number of results returned by the query @return [Array<Paper>, Paper] The {Arx::Paper}(s) found by the search query.
# File lib/arx.rb, line 110 def Arx(*ids, query: nil, sort_by: :relevance, sort_order: :descending, start: 0, max_results: 10, &block) Arx.search *ids, query: query, sort_by: sort_by, sort_order: sort_order, start: start, max_results: max_results, &block end