1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
======
Search
======
search facet list
-----------------
List Searchlight Facets.
.. program:: search facet list
.. code:: bash
openstack search facet list
[--type <resource-type>]
[--limit-terms <limit>]
[--all-projects]
.. option:: --type <resource-type>
Get facets for a particular resource type.
.. option:: --limit-terms <limit>
Restricts the number of options returned for fields that
support facet terms.
.. option:: --all-projects
Request facet terms for all projects (admin only).
search resource type list
-------------------------
List Searchlight Resource Type (Plugin).
.. program:: search resource type list
.. code:: bash
openstack search resource type list
search query
------------
Search Searchlight resource.
.. program:: search query
.. code:: bash
openstack search query
--type [<resource-type> [<resource-type> ...]]
--all-projects
--source [[<field>,...]]
--json
<query>
.. option:: --type [<resource-type> [<resource-type> ...]]
One or more types to search. Uniquely identifies
resource types. Example: ``--type OS::Glance::Image
OS::Nova::Server``
.. option:: --all-projects
By default searches are restricted to the current project
unless all_projects is set.
.. option:: --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.
.. option:: --json
Treat the query argument as a JSON formatted DSL query.
|