OpenStack

  • Home
  • Projects
  • User Stories
  • Community
  • Blog
  • Wiki
  • Documentation

Search¶

search facet list¶

List Searchlight Facets.

openstack search facet list
    [--type <resource-type>]
    [--limit-terms <limit>]
    [--all-projects]
--type <resource-type>¶

Get facets for a particular resource type.

--limit-terms <limit>¶

Restricts the number of options returned for fields that support facet terms.

--all-projects¶

Request facet terms for all projects (admin only).

search resource type list¶

List Searchlight Resource Type (Plugin).

openstack search resource type list

search query¶

Search Searchlight resource.

openstack search query
--type [<resource-type> [<resource-type> ...]]
--all-projects
--source [[<field>,...]]
--json
<query>
--type [<resource-type> [<resource-type> ...]]¶

One or more types to search. Uniquely identifies resource types. Example: --type OS::Glance::Image OS::Nova::Server

--all-projects¶

By default searches are restricted to the current project unless all_projects is set.

--source [[<field>,...]]¶

Whether to display the json source. If not specified, it will not be displayed. If specified with no argument, the full source will be displayed. Otherwise, specify the fields combined with ‘,’ to return the fields you want. It is recommended that you use the --max-width argument with this option.

--json¶

Treat the query argument as a JSON formatted DSL query.

Table Of Contents

  • Search
    • search facet list
    • search resource type list
    • search query

Previous topic

openstack

Project Source

  • Project Source

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • previous |
  • python-searchlightclient 1.1.0 documentation »
© Copyright OpenStack Contributors. Created using Sphinx 1.3.6.