ResourceSearch

Wolfram Resource System »

ResourceSearch[form]

gives a dataset of resources that contain text matching form.

ResourceSearch[form,prop]

returns the property prop of the search results.

Details and Options

  • ResourceSearch[form] searches first locally, then in a user's cloud account, and then in global resource repositories.
  • The query is compared against the "Keyword", "Description", "Details" and "Name" properties in the resource metadata.
  • ResourceSearch["field"->s1,] searches within specific fields. Supported fields include the same properties supported in ResourceSearch["query"] as well as "ResourceType".
  • ResourceSearch accepts the MaxItems option.
  • ResourceSearch supports the following basic search forms, which can be combined arbitrarily:
  • "string"complete string must occur
    {s1,s2,}all si must occur
    s1|s2|at least one of the si must occur
    "field"s1the si must occur in the given field
    FixedOrder[s1,s2,]the si must occur in the order given
    Except[q]q cannot occur
    SearchQueryString["query"]complete search enginestyle query
  • Typical fields include: "Name", "ResourceType", "Description" and "Keywords". Additional fields may be included based on the resource type.
  • Possible properties prop in ResourceSearch[form,prop] include:
  • "Dataset"dataset including resource objects
    "Objects"list of resource objects
    "Associations"associations giving certain properties of resource objects
    "field"list of values for the specified field
    {"field1","field2",}list of associations giving values for the specified fields
  • ResourceSearch[form] is equivalent to ResourceSearch[form,"Dataset"].
  • ResourceSearch supports the following options:
  • MaxItemsAllthe number of items to return
    ResourceSystemPath$ResourceSystemPathpath along which to search

Examples

open allclose all

Basic Examples  (2)

Search for resources:

Search for function resources only:

Scope  (8)

Look for a resource:

Only search for neural net resources:

Only search within the name of the resource:

Include functions and neural nets:

Get a list of resource objects directly:

Get a list of associations containing metadata:

Use a list of terms that must all be included:

Use alternatives when at least one term must match:

Options  (1)

MaxItems  (1)

Specify the maximum number of results to retrieve:

Introduced in 2016
 (11.0)
 |
Updated in 2019
 (12.0)
2020
 (12.1)